BomberUnits
...a Unity learning project
TestStateMachine Class Reference
+ Inheritance diagram for TestStateMachine:
+ Collaboration diagram for TestStateMachine:

Additional Inherited Members

- Public Member Functions inherited from StateMachine
State GetActiveState ()
 Returns a reference to the currently active state.
 
void TriggerTransition (string transName)
 Overload to enable external transition triggering from current state. More...
 
void TriggerTransition (string fromState, string transName)
 Overload to enable external transition triggering using state and transition names. More...
 
void TriggerTransition (State fromState, string transName)
 Attempts to execute the given transition. More...
 
void UpdateCurrentState (State stateRef)
 Used bu all States to announce themselves as currently active state when entered.
 
void RegisterState (State state)
 Used by all States to register themselves at the SM during startup. More...
 
- Public Attributes inherited from StateMachine
bool logEnabled
 
- Protected Member Functions inherited from StateMachine
virtual void MyStart ()
 Override to provide an extended Start function for subclasses. Do not override 'Start()' itself!
 
- Protected Attributes inherited from StateMachine
State activeState = null
 Holds a reference to the current active state.
 
Animator controller = null
 Reference to the Unity (Animation) mechanism for SM design.
 

Detailed Description

Definition at line 3 of file TestStateMachine.cs.


The documentation for this class was generated from the following file: