摘要:
1.方便快捷替换所有text字体 #if UNITY_EDITOR using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEngine. 阅读全文
摘要:
第一种方法 1.首先下载一个dll文件 Interop.SpeechLib.dll 放在unity Plugins文件夹里就可以了 下面上代码 脚本挂在任意地方运行即可 using System.Collections; using System.Collections.Generic; using 阅读全文
摘要:
1.比较时间的大小 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Time_Size : MonoBehaviour { public 阅读全文
摘要:
效果如下 代码如下 using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// 脚本挂到物体上 /// </summary> public class FeiDao_ 阅读全文
摘要:
不知道场景里多少面,把脚本放进去运行一下即可,方便优化项目 代码如下 1.获取场景中全部模型的顶点数及面数 using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// 阅读全文