摘要: #define DEBUG using System.Diagnostics; namespace Attribute { using System; class Program { static void Main(string[] args) { Console.WriteLine("Hello 阅读全文
posted @ 2021-11-16 15:50 Excel2016 阅读(136) 评论(0) 推荐(0)
摘要: using System; using System.Linq; using System.Collections.Generic; namespace Linq { class Program { static void Main(string[] args) { // BasicConcept( 阅读全文
posted @ 2021-11-16 15:47 Excel2016 阅读(119) 评论(0) 推荐(0)
摘要: using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using Object = UnityEngine.Obje 阅读全文
posted @ 2021-11-09 16:24 Excel2016 阅读(368) 评论(0) 推荐(0)
摘要: 使用Unity发布WebGL项目免不了要与Js进行通信,所以整理下相关知识。 官方文档地址 一 Unity调用Js方法 1.弃用的方法 (1)在发布的WebGL项目的index.html添加Exit函数: function Exit() { alert("UnityToWeb") } (2)如果想在 阅读全文
posted @ 2021-09-18 17:23 Excel2016 阅读(1768) 评论(0) 推荐(0)
摘要: 1 设置 Git 合并策略 由于 Git 默认对文本文件会进行合并,但是由于 Unity 生成的文本文件逻辑意义上并不是文本,而是二进制数据,所以我们需要让 Git 在合并时不进行文本合并。 设置自动生成的文本文件为不合并策略 .gitattributes *.anim merge=binary * 阅读全文
posted @ 2021-09-16 12:56 Excel2016 阅读(580) 评论(0) 推荐(0)
摘要: 摄像机跟随目标,鼠标滑轮可以调整距离 InputController.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class InputController : Mo 阅读全文
posted @ 2021-09-14 15:22 Excel2016 阅读(291) 评论(0) 推荐(0)
摘要: 1.在人模这里点提取纹理Materials,分别提取Textures和Materials,然后新建一个文件夹保存,会弹出一个窗口,点Fix的那个,然后就有了 2.把Location改为 Use External Materials(Legacy),可以把Naming 改为Model Name + M 阅读全文
posted @ 2021-09-14 00:40 Excel2016 阅读(2700) 评论(0) 推荐(0)
摘要: 今天删除一个无用文件夹时windows跳出如下弹窗: 解决方法: 1、在要删除的文件夹同级新建一个空文件夹(如图:1是要删除的文件夹,也就是包含那个文件名过长的文件的文件夹,2是空文件夹) 2、点下空白处(只要不选中文件或文件夹就行)按住Shift键不松,然后右击鼠标,选择在此处打开命令窗口(如图) 阅读全文
posted @ 2021-09-13 00:56 Excel2016 阅读(657) 评论(0) 推荐(0)
摘要: JSON-Server 是一个 Node 模块,运行 Express 服务器,你可以指定一个 json 文件作为 api 的数据源。 安装json-server npm install -g json-server 启动 json-server json-server可以直接把一个json文件托管成 阅读全文
posted @ 2021-09-13 00:43 Excel2016 阅读(742) 评论(0) 推荐(0)
摘要: 视图: Alt + W 放大视图 ​ T / L / F / P 顶/左/前/透视视图 ​ U / B 正交 / 底视图 鼠标滚轮 拉近/拉远 按住中键,平移视图 alt + 鼠标中间 旋转视图 F3 切换到线框显示 F4 显示/隐藏三角面 把左视图变成透视图,用于对比例结构 ​ 按下p,按下F3从 阅读全文
posted @ 2021-09-12 20:36 Excel2016 阅读(1090) 评论(0) 推荐(0)