void Update() { if (isSongMetasOutdated) { Debug.Log("Song Metas Outdated"); isSongMetasOutdated = false; songSelectSceneController.GetSongMetasFromManager(); songSelectSceneController.UpdateFilteredSongs(); UpdateCharacters(); } }
public void SubmitSelectedControl() { switch (SelectedSceneControl) { case SongSelectSceneControls.Song: songSelectSceneController.CheckAudioAndStartSingScene(); break; case SongSelectSceneControls.Player: if (playerProfileListController.FocusedPlayerProfileControl != null) { playerProfileListController.FocusedPlayerProfileControl.SetSelected( !playerProfileListController.FocusedPlayerProfileControl.IsSelected); } break; case SongSelectSceneControls.Playlist: playlistSlider.SelectNextItem(); break; case SongSelectSceneControls.Order: orderSlider.SelectNextItem(); break; case SongSelectSceneControls.Search: songSelectSceneController.UpdateFilteredSongs(); break; case SongSelectSceneControls.CharacterQuickJump: // Do nothing. The event is handled by the CharacterQuickJump itself. break; default: // Do nothing. break; } }