AnimatorStateInfo.IsName
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, for example "Base.Idle".
Does name match the name of the active state in the statemachine?
The name should be in the form Layer.Name, for example "Base.Idle".