StateMachine<TState>.StateSelector.

StateMachine<TState>.

Add<TPrioritizable>(TPrioritizable) Method

Summary

Adds the `state` to this selector with its Animancer.FSM.IPrioritizable.Priority.

Syntax

public void Add<TPrioritizable>(TPrioritizable state) where TPrioritizable : TState, IPrioritizable

Type Parameters

Name Description
TPrioritizable

Parameters

Name Type Description
state TPrioritizable

Return Value

Type Description
void