Click or drag to resize

StateMachineTLabel Methods

The StateMachineTLabel generic type exposes the following members.

Methods
  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 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.
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 methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns the current state name
(Overrides ObjectToString.)
Public methodUpdate
This method should be called every frame.
Top
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
See Also