Files
DedicatedServerCourse/Plugins/GameLiftPlugin/Content/Editor/Templates/MyActorClass.cpp.template
2026-02-28 12:32:28 -05:00

29 lines
606 B
Plaintext

%COPYRIGHT_LINE%
%PCH_INCLUDE_DIRECTIVE%
%MY_HEADER_INCLUDE_DIRECTIVE%
%ADDITIONAL_INCLUDE_DIRECTIVES%
// Sets default values
%PREFIXED_CLASS_NAME%::%PREFIXED_CLASS_NAME%()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
}
// Called when the game starts or when spawned
void %PREFIXED_CLASS_NAME%::BeginPlay()
{
Super::BeginPlay();
%CURSORFOCUSLOCATION%
}
// Called every frame
void %PREFIXED_CLASS_NAME%::Tick(float DeltaTime)
{
Super::Tick(DeltaTime);
}
%ADDITIONAL_MEMBER_DEFINITIONS%