以下の内容はhttps://bibinbaleo.hatenablog.com/entry/2020/10/12/195114より取得しました。


現在のマイクデバイス一覧を表示する【Unity】

マイク

docs.unity3d.com

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class GetMicrophoneDevice : MonoBehaviour
{
    public Text Text_Device;
    void Start()
    {
        foreach (var device in Microphone.devices)
        {
            Debug.Log("Name: " + device);
            Text_Device.text = Text_Device.text+"\n " + device;
        }
    }

}

Githubに置いた。

github.com




以上の内容はhttps://bibinbaleo.hatenablog.com/entry/2020/10/12/195114より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14