Version: 2022.3
言語: 日本語

AnimatorTransition

class in UnityEditor.Animations

/

継承:Animations.AnimatorTransitionBase

マニュアルに切り替える

説明

ステートマシンにあるステートから他のステートへどのように切り替えるかの、遷移の定義を行います。AnimatorTransition は常にステートマシンやステートマシンにエントリーされているものから行われます。タイミングを決定するようなパラメータは定義しないでください。

すべての条件が満たされたときに遷移を行います。

コンストラクタ

AnimatorTransition新規に AnimatorTransition を作成します。

継承メンバー

変数

conditionsアニメーション遷移には やりたいことに合わせた遷移条件 AnimatorCondition が揃った場合にのみ起こります。
destinationState遷移先のステート
destinationStateMachine遷移先のステートマシン
isExit遷移先が、現在のステートマシンの exit ステートかどうか
muteアニメーション遷移のミュート(無効化)が行われます。遷移からのステートはミュートされ遷移は二度と行われません。
soloその他すべてのアニメーション遷移は、ソース元のステートでミュートします。
hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameオブジェクト名

Public 関数

AddConditionステートの遷移にパラメータを使った条件を付けるユーティリティ関数です。
RemoveCondition遷移に使用する条件を削除するユーティリティ関数です。
GetInstanceIDGets the instance ID of the object.
ToStringReturns the name of the object.

Static 関数

DestroyRemoves a GameObject, component or asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindAnyObjectByTypeRetrieves any active loaded object of Type type.
FindFirstObjectByTypeRetrieves the first active loaded object of Type type.
FindObjectOfTypeタイプ type から最初に見つけたアクティブのオブジェクトを返します
FindObjectsByTypeRetrieves a list of all loaded objects of Type type.
FindObjectsOfTypeGets a list of all loaded objects of Type type.
Instantiateoriginal のオブジェクトをクローンします

Operator

boolオブジェクトが存在するかどうか
operator !=二つのオブジェクトが異なるオブジェクトを参照しているか比較します
operator ==2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。