Version: 2019.4
public StateMachineBehaviour AddStateMachineBehaviour (Type stateMachineBehaviourType);

説明

stateMachineBehaviourType 型の State Machine Behaviour クラスを AnimatorState に追加します。C# ユーザーはジェネリック版を使用できます。

Note that there is no RemoveStateMachineBehaviour(), to remove a state machine behaviour, use Object.Destroy.


public T AddStateMachineBehaviour ();

説明

ジェネリック版。詳細については Generic Functions を参照してください。