public void OnSound() { SCR_Profile.ToggleSound(); RefreshSoundButtonStatus(); RefreshSoundStatus(); SCR_Audio.PlayClickSound(); }
public void OnPlay() { // Load latest level SCR_Profile.SelectBoss(bossSelecting); SCR_Audio.PlayClickSound(); SceneManager.LoadScene("GSGameplay/SCN_Gameplay"); }
public void OnCheatMoney() { SCR_Profile.CheatMoney(); SCR_Audio.PlayClickSound(); UpdateMoneyNumber(); UpdateBoss(); }
public void OnReset() { SCR_Profile.ResetProfile(); SCR_Audio.PlayClickSound(); UpdateMoneyNumber(); UpdateBoss(); }
public void OnMainMenu() { if (imgNotice.activeSelf) { SCR_Profile.SelectBoss(shouldSelect); SCR_Profile.bosses[shouldSelect].recommended = 1; SCR_Profile.SaveProfile(); } SCR_Audio.PlayClickSound(); SceneManager.LoadScene("GSMenu/SCN_Menu"); }
public void OnPrev() { if (!scrScroll.tweening) { bossSelecting--; if (bossSelecting < 0) { bossSelecting = SCR_Profile.bosses.Length - 1; } UpdateBoss(); SCR_Audio.PlayClickSound(); scrScroll.ForceSnapProfileIndex(bossSelecting); } }
public void OnNext() { if (!scrScroll.tweening) { bossSelecting++; if (bossSelecting >= SCR_Profile.bosses.Length) { bossSelecting = 0; } UpdateBoss(); SCR_Audio.PlayClickSound(); scrScroll.ForceSnapProfileIndex(bossSelecting); } }
public void OnReplay() { SCR_RunSound.Stop(); SCR_Audio.PlayClickSound(); SceneManager.LoadScene("GSGameplay/SCN_Gameplay"); }