Exemplo n.º 1
0
    // * * * * * * * * * * * * * MAIN MENU METHODS * * * * * * * * * * * * * //

    public void Reset()
    {
        PreferencesManager.Instance.UpdateButton("gyroscope", _gyroscopeButton);
        PreferencesManager.Instance.UpdateButton("screenshake", _screenshakeButton);
        PreferencesManager.Instance.UpdateButton("sound", _soundButton);

        _mainMenu.MoveIntoScreen();
        _backButton.transform.localPosition = _backButtonMovedRightPos;
        _settingsMenu.ResetPosition();
        _languageMenu.ResetPosition();
        _achievementsMenu.ResetPosition();
        _gameModesMenu.ResetPosition();
        _currentMenu = 0;

        UpdateAchievementButtons();
    }