- 博客(3)
- 收藏
- 关注
原创 lua 表元素打印
lua 表元素打印 lua打印表元素,更加直观的显示 ,直接调用 varDump() . 看项目里的varDump精简出来的。 local m = {} local keyType = { ['number'] = 1 , ['boolean'] = 2 , ['string'] = 3 , ['table'] = 4 , ['function'] = 5 , ['userdata'] =...
2018-10-23 18:28:55
1532
原创 Unity Text 组件颜色渐变
Unity Text 组件颜色渐变 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; [AddComponentMenu("UI/Effects/doGradient")] [RequireComponent(typeof(Text))] pub...
2018-10-12 09:56:26
1277
原创 unity Draw call
关于Draw call A 使用 材质1 B 使用 材质2 c 使用 材质3 产生3个Draw call。 A 使用 材质1 B 使用 材质1 C 使用 材质1 产生1个Draw call。 A 使用 材质1 B 使用 材质1 C 使用 材质2 产生2个Draw call。 A 使用 材质1 B 使用 材质2 C 使用 材质1 产生3个Draw call。 总结:...
2018-09-12 10:21:16
301
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人