public void UpdateTranslation() { if (!Application.isPlaying && sceneTitle == null) { SceneInjectionManager.Instance.DoInjection(); } sceneTitle.text = TranslationManager.GetTranslation(R.Messages.songSelectScene_title); menuButton.text = TranslationManager.GetTranslation(R.Messages.menu); closeMenuOverlayButton.text = TranslationManager.GetTranslation(R.Messages.back); backToMainMenuButton.text = TranslationManager.GetTranslation(R.Messages.mainScene_title); toggleSongDetailOverlayButton.text = TranslationManager.GetTranslation(R.Messages.songSelectScene_toggleSongDetailsButton); duetLegendLabel.text = TranslationManager.GetTranslation(R.Messages.songSelectScene_duetLegendLabel); videoLegendLabel.text = TranslationManager.GetTranslation(R.Messages.songSelectScene_videoLegendLabel); closePlayerSelectOverlayButton.text = TranslationManager.GetTranslation(R.Messages.back); startButton.text = TranslationManager.GetTranslation(R.Messages.mainScene_button_sing_label); localHighScoreContainer.Q <Label>(R.UxmlNames.title).text = TranslationManager.GetTranslation(R.Messages.songSelectScene_localTopScoresTitle); onlineHighScoreContainer.Q <Label>(R.UxmlNames.title).text = TranslationManager.GetTranslation(R.Messages.songSelectScene_onlineTopScoresTitle); PlaylistChooserControl.UpdateTranslation(); SongSearchControl.UpdateTranslation(); songRouletteControl.UpdateTranslation(); UpdateInputLegend(); }
public void OnInjectionFinished() { PlaylistChooserControl = new PlaylistChooserControl(); injector.Inject(PlaylistChooserControl); }
public void ResetPlaylistSelection() { PlaylistChooserControl.Reset(); }
public void ToggleFavoritePlaylist() { PlaylistChooserControl.ToggleFavoritePlaylist(); }