
Unity
Julyの夏天
这个作者很懒,什么都没留下…
展开
-
UnityWebRequest HTTP 请求服务
UnityWebRequest HTTP 请求服务所用到插件LitJson链接:链接:https://pan.baidu.com/s/1lEbQbAQNewaxs-CKahpBcA提取码:ovt9请求服务using UnityEngine;using System;using LitJson ;using System.Text.RegularExpressions;/// <summary>/// 请求服务/// </summary>public cla原创 2021-07-21 15:58:59 · 226 阅读 · 0 评论 -
LitJson 处理json数据和转换json数据使用案例
LitJson 处理json数据和转换json数据使用案例使用插件LitJson下载链接链接:https://pan.baidu.com/s/1lEbQbAQNewaxs-CKahpBcA提取码:ovt9类数据转换Json//需要引入//using System;//using LitJson;//using System.Text.RegularExpressions;[System.Serializable]/// <summary> 类Demo </summa原创 2021-07-21 16:56:00 · 1862 阅读 · 0 评论 -
Unity 文字转语音(PC版本)
使用Interop.SpeechLib.dll,实现文字转语音操作,windows系统可用,其余系统还没试过打包设置,在P Settings中,将Api Compatibility Level选择为.Net4.x,如图所示:否则打包会没有声音//SpVoice voice = new SpVoice();//实例化//voice.Voice = voice.GetVoices(string.Empty string.Empty).Item(0);//设置中文语音//voice.Voice = v.原创 2020-12-04 16:05:56 · 2025 阅读 · 12 评论