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