摘要:
在西山居的这篇U3D cheatsheet中,提到: c12. 确保 struct 实现了 Equals() 和 GetHashCode() 这怎么理解? 首先,看下system.object.equals和 ReferenceEquals的实现: public static bool Refere 阅读全文
posted @ 2018-09-06 13:11
时空观察者9号
阅读(187)
评论(0)
推荐(0)
摘要:
U3D手册: Optimizing garbage collection in Unity games https://zhuanlan.zhihu.com/p/25306993 https://github.com/mc-gulu/gl-bits/tree/master/(2017)%20unit 阅读全文
posted @ 2018-09-06 10:10
时空观察者9号
阅读(286)
评论(0)
推荐(0)
摘要:
ST ot;//分配在栈上 ST[] arrt = new ST[2];//分配在堆上,因为数组是引用 阅读全文
posted @ 2018-09-06 09:32
时空观察者9号
阅读(157)
评论(0)
推荐(0)

浙公网安备 33010602011771号