public void Immolation() { if (this.Unit == null || (this.Unit != null && !this.Unit.Health.IsDead()) || this.immaculatedUnits == null || (this.immaculatedUnits != null && this.immaculatedUnits.Count <= 0)) { return; } this.immaculatedUnits?.ForEach(unit => unit?.GetComponent <OnHealthValueChanged>()?.Dettach(this.ReduceZigguratHealth)); this.immaculatedUnits?.ForEach(unit => PlacementHelper.Remove(unit, new RemoveUnitValidator(unit))); this.immaculatedUnits = null; }