摘要:
关于Unity时间的显示 using System;using System.Collections;using System.Co... 阅读全文
摘要:
背景:工作中经常和UI对接工作,在搭建场景UI时,关于几个Image或者Text批量对齐,操作起来,有些繁琐,所以就想到了工具插件,... 阅读全文
摘要:
背景:有些文本中自带富文本如:测试文本,其他地方想用同样文本,但是不需要颜色,此时可以使用以下代码,去除富文本 public sta... 阅读全文
摘要:
Convert是一个类,继承自system.Object;int是值类型 Convert.ToInt32()内部就是调用了int.P... 阅读全文
摘要:
关于Unity3D开发之Rect.size和sizeDelta的区别 当四个锚点在同一位置时,sizeDelta和rect.size... 阅读全文
摘要:
Unity 知识点 关于ForceRebuildLayoutImmediate LayoutRebuilder.ForceRebui... 阅读全文
摘要:
如果想让Text文本实现自动向左或者向右增加需要:1.设置Text的pivot位置,2添加Content Size Fitter组件 阅读全文
摘要:
using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Reflection; using System; public class... 阅读全文
摘要:
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class TestWindows :Editor... 阅读全文
摘要:
首先创建解析模型脚本 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; [Serializable] public clas... 阅读全文