7 PLOGI <<
"TestComponent [" <<
id <<
"] Constructed";
12 PLOGI <<
"TestComponent [" <<
id <<
"] Destructed";
16 PLOGI <<
"TestComponent [" <<
id <<
"] beginPlay";
24 PLOGI <<
"TestComponent [" <<
id <<
"] endPlay";
28 PLOGI <<
"UniqueTestComponent Constructed";
void setCanTick(bool enable)
Enables or disables ticking for this component.
LogicComponent(Scene *owningScene)
A scene is the overarching structure which can spawn actors.
void tick(double deltaTime) override
Called every frame if ticking is enabled.
void endPlay() override
Called when the component is removed or the game ends.
void beginPlay() override
Called when the component is added to the scene or the game starts.
TestComponent(Scene *scene, int id)
~TestComponent() override
UniqueTestComponent(Scene *scene)
Log category system implementation.