StateMachineBehaviourContext
This class contains all the owner's information for this State Machine Behaviour.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEditor.Animations
- Assembly: UnityEditor
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. |