摘要: 旋转物体,按s键 勾选顶点 选项,选中捕捉到冻结对象 还有启用轴约束(可以选可不选) 阅读全文
posted @ 2022-03-07 17:25 Excel2016 阅读(1337) 评论(0) 推荐(0)
摘要: 之前做的都是摄像机绕某个物体旋转。直接修改的Rotation属性 然后缩放用的是改摄像机FieldOfView的值 最后发觉效果不仅不尽如人意而且平移后会错位。在借鉴了一个别人的摄像机代码后修改成功 按住右键旋转,按住中键平移,滚轮缩放 脚本拖放到摄像机上即可 代码如下 using DG.Tween 阅读全文
posted @ 2022-03-02 16:52 Excel2016 阅读(680) 评论(1) 推荐(0)
摘要: 一般版本说明 Final:最终版。 当前时间的一个最终版本,可能包含新的功能以及API的变更,详细信息可以参考发布说明。一般大的功能跨度都是在年度版本进行更新。 LTS:长期稳定支持版 。 LTS版本不会有新的任何功能,API变更或改进。不过次版本会解决崩溃,回归测试和开发者反馈的相关问题。 适用于 阅读全文
posted @ 2022-02-22 15:07 Excel2016 阅读(1518) 评论(0) 推荐(0)
摘要: SHIFT + ALT 阅读全文
posted @ 2022-02-21 10:45 Excel2016 阅读(134) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/weixin_42304838/article/details/117550474 阅读全文
posted @ 2022-02-20 21:55 Excel2016 阅读(2253) 评论(0) 推荐(0)
摘要: 解决方法 https://www.freesion.com/article/1592559347/ 阅读全文
posted @ 2022-02-18 17:20 Excel2016 阅读(278) 评论(0) 推荐(0)
摘要: using DG.Tweening; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class CameraC 阅读全文
posted @ 2022-02-11 11:16 Excel2016 阅读(634) 评论(0) 推荐(0)
摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class FollowCamera : MonoBehaviour { //主摄像 阅读全文
posted @ 2021-12-20 08:48 Excel2016 阅读(232) 评论(0) 推荐(0)
摘要: 1.扫描所有场景,保存并添加到Build Settings中 using System.Collections; using System.Collections.Generic; using System.IO; using UnityEditor; using UnityEngine; usin 阅读全文
posted @ 2021-12-09 12:13 Excel2016 阅读(606) 评论(0) 推荐(0)
摘要: // Unity中反射遍历命名空间的两种方法 // 1. foreach (Type currType in GetType().Assembly.GetTypes()) { Debug.Log(currType); Debug.Log(currType.Namespace); } // 2. As 阅读全文
posted @ 2021-11-16 15:58 Excel2016 阅读(216) 评论(0) 推荐(0)