08 2016 档案

unity, 非public变量需要加[SerializeField]才能序列化
摘要:非public变量需要加[SerializeField]才能序列化 例如: MonoBehaviour中: [SerializeField] private float m_xxx; 在相应的CustomEditor脚本中: SerializedProperty m_xxx= serializedO 阅读全文

posted @ 2016-08-26 11:33 wantnon 阅读(747) 评论(0) 推荐(0) 编辑

unity,生成的mac版游戏切场景时卡死解法
摘要:unity版本为5.1.1,在编辑器里运行没问题,build出的windows版运行也没问题,但build出的mac版在个别场景切换时会卡死,通过查看log(查看build版本log的方法参考:http://blog.theknightsofunity.com/accessing-unity-gam 阅读全文

posted @ 2016-08-24 01:02 wantnon 阅读(2796) 评论(0) 推荐(0) 编辑

unity, 查看build版log文件
摘要:http://blog.theknightsofunity.com/accessing-unity-game-logs/ 阅读全文

posted @ 2016-08-18 23:19 wantnon 阅读(2578) 评论(0) 推荐(0) 编辑

unity shader random number
摘要:http://gamedev.stackexchange.com/questions/32681/random-number-hlsl 阅读全文

posted @ 2016-08-13 12:05 wantnon 阅读(986) 评论(0) 推荐(0) 编辑

unity, collider/trigger on children
摘要:参考:http://answers.unity3d.com/questions/410711/trigger-in-child-object-calls-ontriggerenter-in-pa.html 阅读全文

posted @ 2016-08-03 20:31 wantnon 阅读(264) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示