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 TrySetDefaultState()
Remarks
This method returns true immediately if the specified
Animancer.FSM.StateMachine`2.WithDefault.DefaultKey is already the
Animancer.FSM.StateMachine`2.CurrentKey. To allow directly re-entering the same state, use
Animancer.FSM.StateMachine`2.WithDefault.TryResetDefaultState instead.
Return Value
| Type | Description |
|---|---|
| TState |