Summary
Attempts to enter the
Animancer.FSM.StateMachine`1.WithDefault.DefaultState and returns true if successful.- Assembly
- Animancer
.dll - Namespace
- Animancer
.FSM - Containing Type
- StateMachine
<TState> .WithDefault
Syntax
public bool TrySetDefaultState()
Remarks
This method returns true immediately if the specified
Animancer.FSM.StateMachine`1.WithDefault.DefaultState is already the
Animancer.FSM.StateMachine`1.CurrentState. To allow directly re-entering the same state, use
Animancer.FSM.StateMachine`1.WithDefault.TryResetDefaultState instead.
Return Value
| Type | Description |
|---|---|
| bool |