public void Struck(S.Struck p) { bool struck = User.Player.gameObject.GetComponentInChildren <Animator>().GetBool("Struck"); if (struck || GameScene.QueuedAction != null && GameScene.QueuedAction.Action > MirAction.Running || User.Player.CurrentAction > MirAction.Running) { return; } User.Player.gameObject.GetComponentInChildren <Animator>().SetBool("Struck", true); }
public static void Struck(S.Struck p) { gameManager.Struck(p); }