StateMachine<TKey, TState>.

Add(TKey, TState) Method

Summary

Adds a state to the Animancer.FSM.StateMachine`2.Dictionary.
Assembly
Animancer.dll
Namespace
Animancer.FSM
Containing Type
StateMachine<TKey, TState>

Syntax

public void Add(TKey key, TState state)

Parameters

Name Type Description
key TKey
state TState

Return Value

Type Description
void