Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StateMachineBehaviourContext

This class contains all the owner's information for this State Machine Behaviour.
Read time 1 minuteLast updated 6 days ago

Definition

public class StateMachineBehaviourContext

Remarks

Fields

Value

Description

animatorControllerThe AnimatorController that owns this state machine behaviour.
animatorObjectThe object that owns this state machine behaviour. Could be an AnimatorState or AnimatorStateMachine.
layerIndexThe animator's layer index that owns this state machine behaviour.