コード例 #1
0
 private static void ReadyUp(LevelSO song)
 {
     if (queuedSong != null || (queuedSong == null && song == null))
     {
         return;
     }
     if (queuedSong == null && song != null)
     {
         queuedSong = song;
         SteamAPI.SetReady();
         PreviewPlayer.CrossfadeTo(song.audioClip, song.previewStartTime, song.previewDuration);
     }
 }