private void Awake() { _userPrefsController = DependencyResolver.GetCachedUserPrefsControllerl(); currentSceneIndex = gameObject.scene.buildIndex; SceneManager.LoadSceneAsync(_soundScene, LoadSceneMode.Additive); }
private void Awake() { _currentScore = 0; _scoreToText.SetScore(_currentScore); _userPrefsController = DependencyResolver.GetCachedUserPrefsControllerl(); _userPrefs = _userPrefsController.GetUserPrefs(); this.WeakSubscribe <GameManagerMono, GameManagementEvent>(gm => gm.OnGameEvent); }