Ejemplo n.º 1
0
 void UseSkill()
 {
     if (gamepad.GetButtonBDown() && currentCatchCount == RequiredCatchCount &&
         isHaveBall)
     {
         SkillState state = SkillState.Instance;
         state.player = this;
         GameStateManager.ChangeState(state);
     }
 }
Ejemplo n.º 2
0
 void PlusOne()
 {
     if (gamepad.GetButtonBDown())
     {
         if (isHaveBall)
         {
             GM.IsPlusOneSecond = true;
             isHaveBall         = !isHaveBall;
             GM.CreateBall();
         }
     }
 }