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.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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[] |