AnimatorStateMachine.AddStateMachineBehaviour

Cambiar al Manual
public T AddStateMachineBehaviour ();

Descripción

Adds a state machine behaviour class of type T to the AnimatorStateMachine. Note that there is no corresponding "Remove" method. To remove a state machine behaviour, use Object.Destroy.


public StateMachineBehaviour AddStateMachineBehaviour (Type stateMachineBehaviourType);

Parámetros

stateMachineBehaviourTypeThe type of state machine behaviour class to add.

Descripción

A non-generic version of this method.