Click or drag to resize

StateMachineTLabelAddState Method (TLabel, Action)

Adds a state, and the delegates that should run when the state starts. Any delegate can be null, and wont be executed.

Namespace:  Gamelogic.Extensions
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public void AddState(
	TLabel label,
	Action onStart
)

Parameters

label
Type: TLabel
The name of the state to add.
onStart
Type: SystemAction
The action performed when the state is entered.
See Also