Summary
Constructs a new
Animancer.FSM.StateMachine`2 with a new Animancer.FSM.StateMachine`2.Dictionary and
immediately uses the `defaultKey` to enter the `defaultState`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.FSM - Containing Type
- StateMachine
<TKey, TState>
Syntax
public StateMachine(TKey defaultKey, TState defaultState)
Remarks
This calls
Animancer.FSM.IState.OnEnterState but not Animancer.FSM.IState.CanEnterState.Parameters
Return Value
| Type | Description |
|---|---|
| void |