Esempio n. 1
0
 public override void ReleaseResources(IObjectPool objectPool)
 {
     objectPool.ReleaseObjects(enemies);
     objectPool.ReleaseObjects(completedEnemies);
     objectPool.ReleaseObject(enemyTemplate);
     objectPool.ReleaseObject(Path);
     base.ReleaseResources(objectPool);
 }
Esempio n. 2
0
 public override void ReleaseResources(IObjectPool objectPool)
 {
     objectPool.ReleaseObjects(WeaponPods);
     objectPool.ReleaseObject(WeaponPickerDialog);
     changeStatusSubscription.Dispose();
     base.ReleaseResources(objectPool);
 }