摘要: 关于Unity时间的显示 using System;using System.Collections;using System.Co... 阅读全文
posted @ 2020-11-24 09:57 低小调 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 背景:工作中经常和UI对接工作,在搭建场景UI时,关于几个Image或者Text批量对齐,操作起来,有些繁琐,所以就想到了工具插件,... 阅读全文
posted @ 2020-11-19 18:14 低小调 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 背景:有些文本中自带富文本如:测试文本,其他地方想用同样文本,但是不需要颜色,此时可以使用以下代码,去除富文本 public sta... 阅读全文
posted @ 2020-11-18 16:23 低小调 阅读(352) 评论(0) 推荐(0) 编辑
摘要: Convert是一个类,继承自system.Object;int是值类型 Convert.ToInt32()内部就是调用了int.P... 阅读全文
posted @ 2020-11-18 14:29 低小调 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 关于Unity3D开发之Rect.size和sizeDelta的区别 当四个锚点在同一位置时,sizeDelta和rect.size... 阅读全文
posted @ 2020-11-18 11:19 低小调 阅读(898) 评论(0) 推荐(0) 编辑
摘要: Unity 知识点 关于ForceRebuildLayoutImmediate LayoutRebuilder.ForceRebui... 阅读全文
posted @ 2020-11-16 14:17 低小调 阅读(1233) 评论(0) 推荐(0) 编辑
摘要: 如果想让Text文本实现自动向左或者向右增加需要:1.设置Text的pivot位置,2添加Content Size Fitter组件 阅读全文
posted @ 2020-03-20 10:39 低小调 阅读(156) 评论(0) 推荐(0) 编辑
摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Reflection; using System; public class... 阅读全文
posted @ 2018-09-08 17:12 低小调 阅读(86) 评论(0) 推荐(0) 编辑
摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class TestWindows :Editor... 阅读全文
posted @ 2018-09-03 16:43 低小调 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 首先创建解析模型脚本 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [Serializable] public clas... 阅读全文
posted @ 2018-08-27 18:29 低小调 阅读(122) 评论(0) 推荐(0) 编辑