public void OnPress() { SEManager.PlaySubmitSound(); //SingleMission if (MainGameController.gameNumber == 1) { /*SingleMissionStaticData.enemyIsDeath = new bool[1]; * SingleMissionStaticData.remainEnemyNum = 1; * SingleMissionStaticData.loadNewStage = false;*/ SceneManager.LoadScene("SingleMission0"); } else if (MainGameController.gameNumber == 2) //survival { SceneManager.LoadScene("SurvivalStage1"); } }
public void OnPress() { if (ptp.GetTankNumber() >= 21) { //戦車がまだ解放されていなかったら選べない if (PlayerPrefs.GetInt("UseableTank" + ptp.GetTankNumber(), 0) != 1) { SEManager.PlaySound(SEManager.cannotSound); return; } } SEManager.PlaySubmitSound(); if (MainGameController.gameNumber == 1) { SingleMissionStaticData.selectTankNumber = ptp.GetTankNumber(); SingleMissionStaticData.playerLife = ptp.GetLifeNum(); } else if (MainGameController.gameNumber == 2) { SingleSurvivalStaticData.selectTankNumber = ptp.GetTankNumber(); } psui.SetSelectTankNum(ptp.GetTankNumber()); psui.PressTankButton(); }
public void OnPress() { SEManager.PlaySubmitSound(); psui.PressCancelButton(); }
public void OnOnePlayButtonClicked() { SEManager.PlaySubmitSound(); SceneManager.LoadScene("PlayerSelectTank"); }
public void PlaySubmitButtonSound() { SEManager.PlaySubmitSound(); }