This is the old Animancer v7.4 documentation. Click here for the latest version.

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