StateVisualizer.GetAnimatorState(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get an animator state in the animator state machine by state name.
public:
UnityEditor::Animations::AnimatorState ^ GetAnimatorState(System::String ^ animatorStateName);
public UnityEditor.Animations.AnimatorState GetAnimatorState (string animatorStateName);
member this.GetAnimatorState : string -> UnityEditor.Animations.AnimatorState
Public Function GetAnimatorState (animatorStateName As String) As AnimatorState
Parameters
- animatorStateName
- String
The name of the animator state
Returns
- UnityEditor.Animations.AnimatorState
The animator state in the animator state machine