2using System.Collections.Generic;
22 ? output.Data.TrackNames
23 :
new() {
"Output not assigned!" };
36 foreach (
int index
in wrapperIndexes)
37 _action.Invoke(
output.Data.TrackIDs[index]);
A sister class to RadioComponent that allows a component to access specific tracks on a RadioOutput i...
List< string > TrackNames
The names of tracks available in the Output.
RadioOutput output
The RadioOutput to get tracks from.
void DoTrackAction(int _trackMask, Action< string > _action)
Performs an action on any selected tracks using a MultiselectAttribute.
The main scene component for a radio that plays it through an AudioSource.
A custom attribute that allows ints to display as a multiselect dropdown for a given collection,...
static int[] ToInt(int _flags)
Shorthand for MultiselectAttribute.To<int>(_flags, _options). Useful for converting a multiselect to ...
Base interfaces and classes for components, e.g: track accessors, output accessors.