| 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 public TState ChangeStateAuto<TState>()
where TState : new(), Object, IFsmState<T>
Request Example
View SourceType Parameters
- TState
Return Value
Type:
TState[Missing <returns> documentation for "M:Archon.SwissArmyLib.Automata.FiniteStateMachine`1.ChangeStateAuto``1"]
See Also