コード例 #1
0
 private void SongSelectected(int songIndex, string songFullPath)
 {
     SongSelectedEvent?.Invoke(songIndex, songFullPath, Path.GetFileNameWithoutExtension(songFullPath));
 }
コード例 #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);
 }