// METHODS private void OnTrackLoaded() { _gameWindow.Hide(); SetPlayerCarSettings(_gameWindow); _gameWindow.SetValue_PlayerCar(); SubscribeOnEvents(); Start(); }
public void Disable() { _objBackground.SetActive(true); _uiManager.ShowWindow(UIWindowEnum.SPLASH, true); _gameWindowSingleplayer.Hide(); _pauseWindow.Hide(); // ------------------------------------------- // _gameWindowSingleplayer.OnPauseClick -= Pause; //_pauseWindow.OnResumeClick -= Resume; //_pauseWindow.OnMenuClick -= Menu; // ------------------------------------------- _gameManager.Destroy(); }