예제 #1
0
    private void Awake()
    {
        _currentDifficulty = 0;
        _currentHealth     = _gameConfiguration.NumberOfLives;
        _currentScore      = 0;
        _gameUI.UpdateHealth(_currentHealth);
        _gameUI.UpdateScore(_currentScore);
        _gameUI.UpdateHighScore();
#if UNITY_ANDROID || UNITY_IOS
        _gameUI.ActivateMobileControls(true);
#endif
    }