public StateMachineBehaviour AddEffectiveStateMachineBehaviour(Type stateMachineBehaviourType, AnimatorState state, int layerIndex) { return((StateMachineBehaviour)AnimatorController.ScriptingAddStateMachineBehaviourWithType(stateMachineBehaviourType, this, state, layerIndex)); }