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