Esempio n. 1
0
    void Start()
    {
        _soundService.PlayGameMusic();

        #if !UNITY_EDITOR
        _sceneManagerService.LoadScene(ScenesEnum.GameStart);
        #endif
    }
Esempio n. 2
0
 public void RestartGame()
 {
     _soundService.PlayGameMusic();
     _sceneManagerService.LoadScene(ScenesEnum.GameStart);
     _sceneManagerService.UnloadScene(ScenesEnum.Credits);
 }