Version: 2019.2

AnimatorStateMachine.SetStateMachineTransitions

Switch to Manual
public void SetStateMachineTransitions (Animations.AnimatorStateMachine sourceStateMachine, AnimatorTransition[] transitions);

Parameters

stateMachineThe source state machine.
transitionsThe outgoing transitions.

Description

Sets the list of all outgoing state machine transitions from given state machine.