03 2018 档案
摘要:整理参考:https://unity3d.com/cn/learn/tutorials/topics/performance-optimization/optimizing-garbage-collection-unity-games (只是看了这篇博客记录的笔记) 游戏运行时使用内存来存储数据,当
阅读全文
摘要:世界=>本地 注意:世界坐标转本地坐标。需要注意的是世界坐标转本地坐标调用的方法 InverseTransformPoint,需要其父物体的transform.即使拥有父物体的父物体,这里也只用父物体即可。 本地=>世界 worldPos = mPar.TransformPoint(localPos
阅读全文