会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
流星曳尾
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
38
下一页
2020年12月11日
lua 函数中在return之后又语句就会报错
摘要: 可以把return true 改为 if true then return true end
阅读全文
posted @ 2020-12-11 14:52 流星曳尾
阅读(481)
评论(0)
推荐(0)
2020年12月8日
如何判断空表
摘要: a={}if a=={} thenprint(11)elseprint(22)end --22 应该用 k,v遍历来找item个数,从而判断是否是空表
阅读全文
posted @ 2020-12-08 17:33 流星曳尾
阅读(277)
评论(0)
推荐(0)
2020年12月7日
查看渲染批处理的合批
摘要: window->Analysis->Frame Debug
阅读全文
posted @ 2020-12-07 13:02 流星曳尾
阅读(82)
评论(0)
推荐(0)
2020年12月4日
转贴 C# $的用法
摘要: 原文:C# $的用法 -darkif 在字符串前加$相当于对string.format()的简化如:int m_a = 1;int m_b = 2;使用string.format():Console.WriteLine(string.format("this is a:{0},this is b:{
阅读全文
posted @ 2020-12-04 17:03 流星曳尾
阅读(152)
评论(0)
推荐(0)
2020年12月1日
点一下生成很多个可能是因为报错了,所以程序不正常运行
摘要: 如题
阅读全文
posted @ 2020-12-01 15:47 流星曳尾
阅读(76)
评论(0)
推荐(0)
2020年11月20日
拖动报错Material doesn't have a float or range property '_CullMode'
摘要: 可能是因为拖动了TMP SubMeshUI [Title SDF Material + BRLNSDBSDF Atlas],这是临时生成的一个东西,不要拖ta
阅读全文
posted @ 2020-11-20 14:17 流星曳尾
阅读(841)
评论(0)
推荐(0)
2020年11月19日
unity 的rectTransform使用
摘要: Anchor 决定此物体中心点相对于父物体的位置 pivot 中心点
阅读全文
posted @ 2020-11-19 17:44 流星曳尾
阅读(541)
评论(0)
推荐(0)
2020年11月18日
如何设置在文本中显示图片
摘要: 文本中写'<sprite name="%s">%d打开TextMesh Pro->Resources->TMP Settings的属性 Default Sprite Asset设置文件 此文件的Sprite Atlas属性设置图片,此图片中包含所需图片
阅读全文
posted @ 2020-11-18 15:59 流星曳尾
阅读(256)
评论(0)
推荐(0)
2020年11月13日
anchoredPosition只能被整体赋值
摘要: 不能anchoredPosition.x = temp这种赋值。因为ta是只读的。
阅读全文
posted @ 2020-11-13 11:02 流星曳尾
阅读(217)
评论(0)
推荐(0)
2020年10月27日
从transform中拿height和rectTransform一样,用sizeDelta
摘要: rt
阅读全文
posted @ 2020-10-27 17:41 流星曳尾
阅读(327)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
38
下一页
公告