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 阅读(3945) 评论(0) 推荐(0)

导航