GetStateEffectiveBehaviours(AnimatorState, int)
Gets the effective state machine behaviour list for the AnimatorState. Behaviours are either stored in the AnimatorStateMachine or in the AnimatorLayer's ovverrides. Use this function to get Behaviour list that is effectively used.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor
public StateMachineBehaviour[] GetStateEffectiveBehaviours(AnimatorState state, int layerIndex)
Parameters
The AnimatorState which we want the Behaviour list.
The layer that is queried.
Returns
Type | Description |
|---|---|
| StateMachineBehaviour[] |