Пример #1
0
 public void BackToMenu()
 {
     GameOver = false;
     SoundManager.PlayButtonSound(ButtonSounds.MENU_BUTTON);
     SoundManager.StopSound();
     SoundManager.StopMusic();
     SoundManager.PlayMenuMusic();
     _scene = GameScene.MENU;
     SceneManager.LoadScene((int)GameScene.MENU);
 }
Пример #2
0
 void Start()
 {
     SoundManager.PlayMenuMusic();
     SceneManager.LoadScene((int)GameScene.MENU);
 }