Click or drag to resize

FiniteStateMachineTChangeStateAutoTState Method

Changes the active state to the given state type. If a state of that type isn't already registered, it will automatically create a new instance using the empty constructor.

Namespace:  Archon.SwissArmyLib.Automata
Assembly:  Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public TState ChangeStateAuto<TState>()
where TState : new(), Object, IFsmState<T>
Request Example View Source

Type Parameters

TState

Return Value

Type: TState

[Missing <returns> documentation for "M:Archon.SwissArmyLib.Automata.FiniteStateMachine`1.ChangeStateAuto``1"]

See Also