上一页 1 2 3 4 5 6 7 8 9 10 ··· 43 下一页

2017年4月9日

c#输出二进制

摘要: int number=~(1 << 4) ; Debug.Log (Convert.ToString(number,2)); 输出结果:11111111111111111111111111101111 阅读全文

posted @ 2017-04-09 23:13 wantnon 阅读(1454) 评论(0) 推荐(0) 编辑

2017年3月22日

unity, dll is not allowed to be included or could not be found

摘要: player settings change to Net 2.0 ref: http://answers.unity3d.com/questions/485085/dll-is-not-allowed-to-be-included-or-could-not-be.html 阅读全文

posted @ 2017-03-22 16:17 wantnon 阅读(357) 评论(0) 推荐(0) 编辑

2017年3月13日

android check box 自定义图片

摘要: http://blog.csdn.net/competerh_programing/article/details/7417074 阅读全文

posted @ 2017-03-13 18:22 wantnon 阅读(389) 评论(0) 推荐(0) 编辑

2017年3月11日

原创科幻短篇《VR》

摘要: 近些年VR很火,现在似乎又降温了,那么问题来了:VR到底有前景吗?我农村来的读书又少看不清楚哇。近些年房地产很火,现在似乎还是很火,那么问题来了:房价到底会降吗?我农村来的读书又少看不清楚哇。 以下正文: 刘明提起笔,犹豫不决,这字一签,祖传四合院立即换成三千万大洋。本来他满怀希望,盘算着三千万至少 阅读全文

posted @ 2017-03-11 14:22 wantnon 阅读(380) 评论(0) 推荐(0) 编辑

2017年3月10日

unity, ios skin crash

摘要: https://issuetracker.unity3d.com/issues/ios-loading-models-with-tangents-set-to-calculate-legacy-from-asset-bundles-crashes-in-s-skinvertices4bones-ta 阅读全文

posted @ 2017-03-10 11:11 wantnon 阅读(280) 评论(0) 推荐(0) 编辑

2017年3月4日

unity, Collider2D.bounds的一个坑

摘要: Note that this will be an empty bounding box if the collider is disabled or the game object is inactive. 阅读全文

posted @ 2017-03-04 20:59 wantnon 阅读(884) 评论(0) 推荐(0) 编辑

2017年2月25日

unity, ContentSizeFitter立即生效

摘要: ugui Text上添加了ContentSizeFitter组件后,如果在代码里对Text.text重新赋值,文本框并不会马上改变大小,而是会延迟到下一帧。 如果想立刻生效,需要调用 Text.GetComponent<ContentSizeFitter> ().SetLayoutVertical  阅读全文

posted @ 2017-02-25 12:10 wantnon 阅读(2533) 评论(0) 推荐(0) 编辑

2017年2月23日

类里的通用成员函数应声明为static

摘要: 类C的成员函数f,如果f的实现实现不依赖于C的任何成员变量,则f为通用函数。 对于通用函数f,可以将其从类C中分离出来做成一个全局函数,也可以仍然让它属于类C,但加上static。 两种处理方法实际都是使f成为不以来于具体对象实例的,随处可调用的全局函数。 阅读全文

posted @ 2017-02-23 22:53 wantnon 阅读(644) 评论(0) 推荐(0) 编辑

2017年2月21日

unity, Gizmos.DrawMesh一个坑

摘要: 错误写法(画不出来): void OnDrawGizmos(){ Mesh mesh=new Mesh(); mesh.vertices=... mesh.triangles=... //mesh.RecalculateBounds() Gizmos.DrawMesh(mesh); } 正确写法1: 阅读全文

posted @ 2017-02-21 23:13 wantnon 阅读(3812) 评论(0) 推荐(0) 编辑

2017年2月19日

unity, particle system Emit from Edge

摘要: 阅读全文

posted @ 2017-02-19 00:10 wantnon 阅读(345) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 10 ··· 43 下一页

导航