2020
09-27
09-27
unity实现录音并保存本地
本文实例为大家分享了unity实现录音并保存本地的具体代码,供大家参考,具体内容如下我们可以使用unity自带的MicroPhone类来录音,回放录音,保存录音具体代码如下:usingSystem;usingSystem.Collections;usingSystem.Collections.Generic;usingSystem.IO;usingUnityEngine;publicclassMicroPhoneManager:MonoBehaviour{publicintDeviceLength;///<summary>///录音频率///</summary>publicstringFreque...
继续阅读 >