private void Start() { StartCoroutine(ExecuteAfterDelay(delayDuration, () => musicPlayer.PlaySelectedMusicLooping( altMusic.Length > 0 ? altMusic.Concat(music) .Where(x => !x.name.Equals(musicPlayer.LastSongName)) .Random() : music))); }
private void Start() { musicPlayer.PlaySelectedMusicLooping(music); }