void Update() { IA_Skeleton_code script = holder.GetComponent <IA_Skeleton_code>(); IsHiting = script.Getanimator().GetCurrentAnimatorStateInfo(0).IsName("Attack1h1"); }
void Update() { IA_Skeleton_code script = holder.GetComponent <IA_Skeleton_code>(); IsHiting = script.Getanimator().GetCurrentAnimatorStateInfo(0).IsName("Attack1h1"); }