可用麦克风设备(用名称标识)的列表。
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。