Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.
Read time 1 minuteLast updated 12 days ago

Definition

public StateMachineBehaviour[] GetStateEffectiveBehaviours(AnimatorState state, int layerIndex)

Parameters

The AnimatorState which we want the Behaviour list.

layerIndex

The layer that is queried.

Returns