Esempio n. 1
0
 private void SongSelectected(int songIndex, string songFullPath)
 {
     SongSelectedEvent?.Invoke(songIndex, songFullPath, Path.GetFileNameWithoutExtension(songFullPath));
 }
Esempio n. 2
0
 /**
  * @brief Handles the @link SC_LoadSongDialog::mLoadButton Load button@endlink being clicked by invoking the SongSelectedEvent and destroying itself.
  */
 private void OnLoadButtonClicked()
 {
     SongSelected.Invoke(mSelectedSong);
     DestroyImmediate(gameObject, false);
 }