public void OnMusicToggle() { User.Instance.Sound = !User.Instance.Sound; if (User.Instance.Sound) { musicOn.gameObject.SetActive(true); musicOff.gameObject.SetActive(false); } else { musicOn.gameObject.SetActive(false); musicOff.gameObject.SetActive(true); } GameInfo.isSoundOn = User.Instance.Sound; gameAudio.ButtonBeepPop(); }
public void MoveGameScene() { gameAudio.ButtonBeepPop(); SceneManager.LoadScene("Game"); }
private void BackBtn_backBtn() { gameaudio.ButtonBeepPop(); SceneManager.LoadScene("Main"); }