...
Code Block | ||
---|---|---|
| ||
public class AudioSelectionMenu : MonoBehaviour { private void Start() { CavrnusFunctionLibrary.AwaitAnySpaceConnection(FetchAudioDevicesDisplayAudioDevices); } private void FetchAudioDevicesDisplayAudioDevices(CavrnusSpaceConnection spaceConnection) { CavrnusFunctionLibrary.FetchAudioInputs(devices => { foreach (var device in devices) Debug.Log($"{device.Name} found!"); }); } } |