可用的麦克风设备列表,按名称标识。
using UnityEngine;
public class Example : MonoBehaviour { // Get list of Microphone devices and print the names to the log void Start() { foreach (var device in Microphone.devices) { Debug.Log("Name: " + device); } } }
其他资源:Start,End,IsRecording.