using UnityEngine; public class Test { public void M(AnimatorStateInfo s) { bool b = s.IsTag("Attack"); } }