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[] |