Beispiel #1
0
        public static void GoToArenaPage(OptionsMenu optionsMenu)
        {
            SongBrowser.page = 1;
            if (songItemPanel == null)
            {
                secondaryPanel = GameObject.Instantiate(GameObject.Find("ShellPage_Settings"));
                secondaryPanel.SetActive(true);
                secondaryPanel.transform.Rotate(0, -65, 0);
                SpawnSecondaryPanel(secondaryPanel);
            }
            else
            {
                SpawnSecondaryPanel(secondaryPanel);
            }

            optionsMenu.ShowPage(OptionsMenu.Page.Customization);
            CleanUpPage(optionsMenu);
            AddButtons(optionsMenu);
            optionsMenu.screenTitle.text = "Filters";
            SongBrowser.lastSongCount    = SongBrowser.newSongCount;          //User has seen new songs
            SongBrowser.SaveConfig();
        }