Exemplo n.º 1
0
 private void PoolObjectChildren(GameObject gameObject)
 {
     while (gameObject.transform.childCount > 0)
     {
         var child = gameObject.transform.GetChild(0);
         _assetPool.PoolTransform(child);
     }
 }