Property | Type | Description | |
---|---|---|---|
currentState | AState, | ||
initialState | AState, |
Method | Description | |
---|---|---|
GetCurrentState ( ) : AState, | ||
GetCurrentStateLabel ( ) : string | ||
InitializeStateTransitions ( ) : void |
Put all state initialization and state transitions here!
|
|
OnUpdate ( ) : void |
Raises the update event. Call this if you want this state machine to perform actions on Unity Update
|
|
SetInitialState ( AState, initialState ) : void | ||
TransitionTo ( string stateLabel ) : void |
Transitions the current state to its next state. Will not transition if the current state do not have any next state!
|
public abstract InitializeStateTransitions ( ) : void | ||
return | void |
public SetInitialState ( AState, initialState ) : void | ||
initialState | AState, | |
return | void |
public TransitionTo ( string stateLabel ) : void | ||
stateLabel | string | |
return | void |