private void OnDeath_UCE_WaveSpawnerEntity() { if (UCE_parentSpawnArea == null) { return; } UCE_parentSpawnArea.updateMemberPopulation(name.GetDeterministicHashCode(), UCE_parentWaveIndex); UCE_parentSpawnArea = null; }
public void OnDeath_UCE_WaveSpawnerEntity() { if (UCE_parentSpawnArea == null) { return; } UCE_parentSpawnArea.updateMemberPopulation(name.GetStableHashCode(), UCE_parentWaveIndex); UCE_parentSpawnArea = null; }
// ----------------------------------------------------------------------------------- // Prepare // ----------------------------------------------------------------------------------- public void Prepare(UCE_Area_WaveSpawner parent, int waveIndex) { parentSpawnArea = parent; parentSpawnWave = waveIndex; objects = new List <GameObject>(); _levelAdjustment = levelAdjustment; totalObjectsSpawned = 0; spawned = false; }