StateMachine<TState>.WithDefault.

StateMachine<TState>.

TryResetDefaultState() Method

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 TryResetDefaultState()

Remarks

This method does not check if the Animancer.FSM.StateMachine`1.WithDefault.DefaultState is already the Animancer.FSM.StateMachine`1.CurrentState. To do so, use Animancer.FSM.StateMachine`1.WithDefault.TrySetDefaultState instead.

Return Value

Type Description
bool