public void UpdateSoundList() { soundList = soundManager.GetPlayableSounds(); playableSounds.options.Clear(); foreach (var sound in soundList) { playableSounds.options.Add(new Dropdown.OptionData(sound)); } if (playableSounds.options.Count > 0) { playableSounds.captionText.text = playableSounds.options[0].text; } }