Beispiel #1
0
 private void DespawnCoin(IPoolObject obj)
 {
     if (obj.PoolTransform.gameObject.activeInHierarchy)
     {
         _coinsPool.Recycle(obj);
     }
 }
Beispiel #2
0
 private void DespawnZombie(IPoolObject obj)
 {
     if (obj.PoolTransform.gameObject.activeInHierarchy)
     {
         _zombiePool.Recycle(obj);
     }
 }