private void AddListToPlaybackQueue(AudioBuddyList list) { _deleteNext = !_busyPlayingList; _busyPlayingList = true; RemoveFirstIfInList(list); for (int i = list.SoundList.Count - 1; i >= 0; i--) { _playbackList.Insert(0, new PlaybackEntry(list.SoundList[i])); } _timeTillNextSound += _playbackList[0].Delay; }
private void OnEnable() { listObject = (AudioBuddyList)target; }