SetStateEffectiveBehaviours(AnimatorState, int, StateMachineBehaviour[])
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.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor.CoreModule
public void SetStateEffectiveBehaviours(AnimatorState state, int layerIndex, StateMachineBehaviour[] behaviours)
Parameters
The AnimatorState which we want to set the Behaviour list.
The layer to set the Behaviour list.
The Behaviour list that will be set.