StateMachineBehaviourContext
This class contains all the owner's information for this State Machine Behaviour.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor.CoreModule
public class StateMachineBehaviourContext
Remarks
Additional Resources: AnimatorController.FindStateMachineBehaviourContext.
Fields
Value | Description |
|---|---|
| animatorController | The AnimatorController that owns this state machine behaviour. |
| animatorObject | The object that owns this state machine behaviour. Could be an AnimatorState or AnimatorStateMachine. |
| layerIndex | The animator's layer index that owns this state machine behaviour. |