StateVisualizer.GetAnimatorState(String) Method

Definition

Get an animator state in the animator state machine by state name.

C++
public:
 UnityEditor::Animations::AnimatorState ^ GetAnimatorState(System::String ^ animatorStateName);

Parameters

animatorStateName
String

The name of the animator state

Returns

UnityEditor.Animations.AnimatorState

The animator state in the animator state machine

Applies to

Produkt Wersje
MRTK2 Unity 2019 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.6.0, 2.7.0, 2.8.0