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