예제 #1
0
파일: GameObjectPool.cs 프로젝트: ayuexs/C-
 /// <summary>
 /// 销毁 PoolGameObject
 /// </summary>
 private void DestroyPoolGameObject(PoolGameObject pgo)
 {
     pgo.transform.SetParent(null);
     GameObject.Destroy(pgo.gameObject);
     pgo = null;
 }