Version: 2021.1
언어: 한국어

AnimatorStateMachine.AddStateMachineBehaviour

매뉴얼로 전환
public T AddStateMachineBehaviour ();

설명

Adds a state machine behaviour class of type T to the AnimatorStateMachine. Note that there is no corresponding "Remove" method. To remove a state machine behaviour, use Object.Destroy.


public StateMachineBehaviour AddStateMachineBehaviour (Type stateMachineBehaviourType);

파라미터

stateMachineBehaviourType The type of state machine behaviour class to add.

설명

A non-generic version of this method.