要查看audioClip是否获取到链接参数,可以在GetVoice方法中的UnityWebRequest实例化之前添加以下代码:

Debug.Log("传参的值是:" + textToSpeechRequestBody);

这样就可以在控制台输出传递的链接参数值。

要如何debuglog 查看audioClip是否获取到链接参数 private IEnumerator GetVoicestring _msg ActionAudioClip string _callback stopwatchRestart; 发送报文 string textToSpeechRequestBody = GenerateTe

原文地址: http://www.cveoy.top/t/topic/i9DI 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录