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