Version: 5.4
public Animations.AnimatorStateTransition AddExitTransition ();
public Animations.AnimatorStateTransition AddExitTransition (bool defaultExitTime);

パラメーター

defaultExitTime true の場合、終了時間は 0.25 秒と等しくなります。

戻り値

AnimatorStateTransition 追加された[Animations.AnimatorStateTransition] です。

説明

ステートの親ステートマシンの出口に 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.