Version: 2018.1

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.