A state of a state machine.
||The name of the state.|
|Name||The name of the state.|
|OnEnter||A function executed when a state machines enters this state. Should take the state as the first argument. Default value is
|OnExit||A function executed when a state machine exists this state. Should take the state as the first argument. Default value is
|OnUpdate||A function executed while the state is active. Should take the state as the first argument and delta time as the second. Default value is
|StateMachine||The state machine to which this state belongs or
|get_duration||Retrieves how long (in milliseconds) has the state been active for.|
Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.