AnimatorStateInfo.IsName

Declaration

public bool IsName(string name);

Description

Does name match the name of the active state in the statemachine?

The name should be in the form Layer.Name or Layer.SubStateMachine.Name. For example, Base.Idle or Base.RunSM.JogForward.


Did you find this page useful? Please give it a rating: