StateMachine<TKey, TState>.WithDefault.

StateMachine<TKey, TState>.

ForceSetDefaultState Field

Summary

Calls Animancer.FSM.StateMachine`2.ForceSetState(`0) with the Animancer.FSM.StateMachine`2.WithDefault.DefaultKey.

Syntax

public readonly Action ForceSetDefaultState

Remarks

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