StateMachine<TKey, TState>.

GetState(TKey) Method

Summary

Returns the state registered with the specified `key`, or null if none is present.
Assembly
Animancer.dll
Namespace
Animancer.FSM
Containing Type
StateMachine<TKey, TState>

Syntax

public TState GetState(TKey key)

Parameters

Name Type Description
key TKey

Return Value

Type Description
TState