Summary
Attempts to enter the
Animancer.FSM.StateMachine`2.WithDefault.DefaultKey
and returns true if successful.- Assembly
- Animancer
.dll - Namespace
- Animancer
.FSM - Containing Type
- StateMachine
<TKey, TState> .WithDefault
Syntax
public TState TryResetDefaultState()
Remarks
This method does not check if the
Animancer.FSM.StateMachine`2.WithDefault.DefaultKey
is already the Animancer.FSM.StateMachine`2.CurrentKey
.
To do so, use Animancer.FSM.StateMachine`2.WithDefault.TrySetDefaultState
instead.
Return Value
Type | Description |
---|---|
TState |