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분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor.CoreModule
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[] |