2019年8月27日

Unity3D Destroy方法的细节

摘要: 当我们想销毁一个集合中的所有物体时 很容易想到会这么做 List<GameObject> goes = new List<GameObject>(); for (int i = 0; i < goes.Count; i++) { Destroy(goes[i]); } 用一个for循环 遍历到所有的 阅读全文

posted @ 2019-08-27 10:35 Lumious 阅读(5191) 评论(0) 推荐(0) 编辑

导航