Ejemplo n.º 1
0
 private void InputCheck()
 {
     if (jumpButton.isPushed && !jumpButton.isJumping)
     {
         jumpButton.Execute(gameObject);
     }
     if (skillButton.isPushed)
     {
         skillButton.Execute(gameObject);
     }
     if (attackButton.isPushed)
     {
         attackButton.Execute(gameObject);
     }
 }