Esempio n. 1
0
        /// <summary>
        /// It has awaken!
        /// </summary>
        private void Awake()
        {
            Logger.Trace("Awake()");

            Instance = this;

            _songBrowserUI = gameObject.AddComponent <SongBrowserUI>();
            _ppDownloader  = gameObject.AddComponent <ScoreSaberDatabaseDownloader>();
            _ppDownloader.onScoreSaberDataDownloaded += OnScoreSaberDataDownloaded;
        }
Esempio n. 2
0
 private void OnMenuSceneLoadedFresh()
 {
     try
     {
         SongBrowserApplication.OnLoad();
     }
     catch (Exception e)
     {
         Logger.Exception("Exception on fresh menu scene change: " + e);
     }
 }
 private void OnMenuSceneEnabled()
 {
     SongBrowserApplication.OnLoad();
 }