Exemple #1
0
 /// <summary>
 /// 销毁 PoolGameObject
 /// </summary>
 private void DestroyPoolGameObject(PoolGameObject pgo)
 {
     pgo.transform.SetParent(null);
     GameObject.Destroy(pgo.gameObject);
     pgo = null;
 }