Version: 2018.2
public Animations.AnimatorTransition AddStateMachineTransition (Animations.AnimatorStateMachine sourceStateMachine);
public Animations.AnimatorTransition AddStateMachineTransition (Animations.AnimatorStateMachine sourceStateMachine, Animations.AnimatorStateMachine destinationStateMachine);
public Animations.AnimatorTransition AddStateMachineTransition (Animations.AnimatorStateMachine sourceStateMachine, Animations.AnimatorState destinationState);

パラメーター

sourceStateMachineソース元のステートマシン
destinationStateMachine遷移先ステートマシン。
destinationState遷移先ステート。

戻り値

AnimatorTransition 作成された AnimatorTransition トランジション

説明

ソースのステートマシンから遷移先へ outgoing (出て行く)トランジションを追加するユーティリティ関数です。

The transition asset that is created is added as a sub asset of the state.
An example showing usage of this API can be found at the AnimatorController page.