UActorComponent::BeginPlay

Begins Play for the component.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/ActorComponent.h

Include

#include "Components/ActorComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/ActorComponent.cpp

Syntax

virtual void BeginPlay()

Remarks

Begins Play for the component. Called when the owning Actor begins play or when the component is created if the Actor has already begun play. Actor BeginPlay normally happens right after PostInitializeComponents but can be delayed for networked or child actors. Requires component to be registered and initialized.