void Attack() { if ((CrossPlatformInputManager.GetButtonDown("B_Button")) && grounded == true) { playerAnim.SetAttackTrigger(); playerAnim.SetSwordArcTrigger(); } }