IKeyedStateMachine<TKey>.

ForceSetState(TKey) Method

Summary

Uses Animancer.FSM.StateMachine`2.ForceSetState(`0,`1) to change to the state registered with the `key`. If nothing is registered, it changes to default(TState).
Assembly
Animancer.dll
Namespace
Animancer.FSM
Containing Type
IKeyedStateMachine<TKey>

Syntax

Object ForceSetState(TKey key)

Parameters

Name Type Description
key TKey

Return Value

Type Description
Object