UNetworkPredictionComponent::InitializeComponent

Initializes the component.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

NetworkPrediction

Header

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Public/NetworkPredictionComponent.h

Include

#include "NetworkPredictionComponent.h"

Source

/Engine/Plugins/Runtime/NetworkPrediction/Source/NetworkPrediction/Private/NetworkPredictionComponent.cpp

Syntax

virtual void InitializeComponent()

Remarks

Initializes the component. Occurs at level startup or actor spawn. This is before BeginPlay (Actor or Component). All Components in the level will be Initialized on load before any Actor/Component gets BeginPlay Requires component to be registered, and bWantsInitializeComponent to be true.