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