Version: 2018.2

AnimatorControllerLayer.SetOverrideBehaviours(AnimatorState,StateMachineBehaviourInfo[])

Switch to Manual

Parameters

stateThe state which we want to set the behaviour list.
behavioursThe behaviour list that will be set.

Description

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