Beispiel #1
0
    public void SetState(MenuState menuState)
    {
        this.menuState = menuState;
        switch (menuState)
        {
        case MenuState.Main:
            break;

        case MenuState.Score:
            uiMenuManager.ShowTopScore(PlayerPrefs.GetInt(StringConstants.PREFS_TOPSCORE));
            break;

        case MenuState.Settings:
            break;
        }
        uiMenuManager.SetState(menuState);
    }