Esempio n. 1
0
        void StartLevel()
        {
            _mainMenu.SetActive(false);
            _gameOverMenu.SetActive(false);
            _buttons[Constants.restartButton].gameObject.SetActive(false);
            _buttons[Constants.backButton].gameObject.SetActive(false);

            _currentScore.gameObject.SetActive(true);
            _currentScore.SetText(Constants.currentScoreText + _controlManager.CurrentScore);
            _buttons[Constants.menuButton].gameObject.SetActive(true);

            _updateManager.CustomStart();
            _controlManager.Initialization();
            _platformManager.StartGenerate();
        }