GUInity
|
Public Member Functions | |
virtual void | awake () override |
virtual void | tick (float deltaSeconds) override |
![]() | |
ScriptComponent () | |
virtual | ~ScriptComponent () |
virtual void | init () |
virtual void | destroy () |
virtual void | onCollision (Actor *actor) |
virtual void | onTrigger (Actor *actor) |
virtual shared_ptr< Component > | clone () override |
virtual shared_ptr< ComponentDescription > | getComponentDescription () override |
virtual void | deserialize (shared_ptr< ComponentDescription > desc) override |
![]() | |
Component () | |
virtual | ~Component () |
virtual void | setActive (bool isActive) |
shared_ptr< Actor > | getActor () |
void | setActor (weak_ptr< Actor > actor) |
Public Attributes | |
MoveMode | moveMode |
weak_ptr< MoveHandle > | forward |
weak_ptr< MoveHandle > | up |
weak_ptr< MoveHandle > | right |
Additional Inherited Members | |
![]() | |
void | setCopyMode (bool initWithData) |
![]() | |
bool | initWithData |
bool | isActive |
|
overridevirtual |
Component awake override
Reimplemented from ScriptComponent.
|
overridevirtual |
Component tick override
[in] | deltaSeconds | last frame durations |
Reimplemented from ScriptComponent.