摘要:
直接上代码 搭建3个text即可 代码如下: using UnityEngine; using UnityEngine.UI; using System; /// <summary> /// 显示年月日、星期几和实时时间 /// </summary> public class RIQI : Mono 阅读全文
摘要:
1.核心搭建就是一个InputField 一个Scroll view 代码如下: using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; /// <summary> /// Un 阅读全文
摘要:
1.第一人称巡检工具 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Move2 : MonoSingleton <Move2> { public Transfor 阅读全文
摘要:
1.需要使用webSocket插件,记得导入 插件下载地址 代码如下: using System; using System.Collections; using System.Collections.Generic; using System.Net.WebSockets; using Syste 阅读全文
摘要:
简单记录一下, 直接挂载一个空物体即可使用 代码如下: using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraUITB : MonoSingleton<Cam 阅读全文
摘要:
按着ctrl+鼠标左键进行选中或取消 using HighlightingSystem; using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// 模型多选 /// 阅读全文
摘要:
一种webgl端使用的,一种PC端的,按需使用。(切记CSV文件转换的时候需要查看是不是UTF-8格式,要不取出来会乱码的,查看方式是用记事本打开看一下是不是,不是就另存为一下就好了) 代码如下 using System.Collections; using System.Collections.G 阅读全文
摘要:
效果图如下 直接贴代码 代码如下: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [RequireComponent(typeof(Scroll 阅读全文