Click or drag to resize

StateMachineTLabelAddState Method

Overload List
  NameDescription
Public methodAddState(TLabel)
Adds a state.
Public methodAddState(TLabel, Action)
Adds a state, and the delegates that should run when the state starts. Any delegate can be null, and wont be executed.
Public methodAddStateTSubStateLabel(TLabel, StateMachineTSubStateLabel, TSubStateLabel)
Adds a sub state machine for the given state. The sub state machine need not be updated, as long as this state machine is being updated.
Public methodAddState(TLabel, Action, Action)
Adds a state, and the delegates that should run when the state starts, and when the state machine is updated. Any delegate can be null, and wont be executed.
Public methodAddState(TLabel, Action, Action, Action)
Adds a state, and the delegates that should run when the state starts, stops, and when the state machine is updated. Any delegate can be null, and wont be executed.
Top
See Also