AnimatorController.SetStateEffectiveBehaviours(AnimatorState,int,StateMachineBehaviourInfo[])

Cambiar al Manual

Parámetros

stateThe AnimatorState which we want to set the Behaviour list.
layerIndexThe layer to set the Behaviour list.
behavioursThe Behaviour list that will be set.

Descripción

Sets the effective state machine Behaviour list for the AnimatorState. The Behaviour list is either stored in the AnimatorStateMachine or in the AnimatorLayer's ovverrides. Use this function to set the Behaviour list that is effectively used.