Version: 2017.2

AnimatorControllerLayer.SetOverrideBehaviours(AnimatorState,StateMachineBehaviourInfo[])

Switch to Manual

Parameters

state The state which we want to set the behaviour list.
behaviours The behaviour list that will be set.

Description

Sets the override behaviour list for the state on the given layer.