void Update() { SongSelectSceneController songSelectSceneController = SongSelectSceneController.Instance; if (Input.GetKeyUp(NextSongShortcut)) { songSelectSceneController.OnNextSong(); } if (Input.GetKeyUp(PreviousSongShortcut)) { songSelectSceneController.OnPreviousSong(); } if (Input.GetKeyUp(KeyCode.Escape)) { if (songSelectSceneController.IsSearchEnabled()) { songSelectSceneController.DisableSearch(); } else { SceneNavigator.Instance.LoadScene(EScene.MainScene); } } if (Input.GetKeyUp(StartSingSceneShortcut)) { songSelectSceneController.OnStartSingScene(); } if (Input.GetKeyDown(QuickSearchArtist)) { songSelectSceneController.EnableSearch(SearchInputField.ESearchMode.ByArtist); } if (Input.GetKeyDown(QuickSearchSong)) { songSelectSceneController.EnableSearch(SearchInputField.ESearchMode.BySongTitle); } }