Version: 2020.2
言語: 日本語
public static string[] devices ;

説明

名前により識別された、利用可能なマイクデバイスの一覧

この名前とともに Start 関数や End 関数を使用して、録音を開始/終了するマイクを指定します。

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.