public static GUIContent[] AllChannelContent(int mixerIndex) { // Get the mixer at the given index AudioMixerData mixer = AudioSettings.GetMixer(mixerIndex); return(mixer .AllChannels .Select(channel => new GUIContent(EditorGUIUtility.ObjectContent(channel.Output, typeof(AudioMixerGroup)))) .ToArray()); }