StateMachine<TState>.WithDefault.

StateMachine<TState>.

ForceSetDefaultState Field

Summary

Calls Animancer.FSM.StateMachine`1.ForceSetState(`0) with the Animancer.FSM.StateMachine`1.WithDefault.DefaultState.
Assembly
Animancer.dll
Namespace
Animancer.FSM
Containing Type
StateMachine<TState>.WithDefault

Syntax

public Action ForceSetDefaultState

Remarks

This delegate is cached to avoid allocating garbage when used in Animancer Events.