public override void Dispose() { _mrfusionOpen?.Dispose(); _mrfusionClosed?.Dispose(); _mrFusion?.Dispose(); _mrFusionHandle?.Dispose(); }
public override void Dispose() { _wormholeRT?.Dispose(); _coilsProp?.Dispose(); _wheelPtfxes?.ForEach(x => x?.Dispose()); _separatedCoils?.ForEach(x => x?.Dispose()); _sparks?.ForEach(x => x?.Dispose()); _wormholeScaleform?.Unload(); _sparkPTFX?.StopNonLooped(); _sparkProp?.Dispose(); }
public override void Dispose() { wheelAnims?.Dispose(); _hoverGlowing?.Dispose(); ventGlowing?.Dispose(); foreach (var prop in _underbodyLights) { prop.Dispose(); } }
public void Dispose() { rpmNeedle?.Dispose(); speedNeedle?.Dispose(); fuelNeedle?.Dispose(); oilNeedle?.Dispose(); tempNeedle?.Dispose(); voltNeedle?.Dispose(); doorIndicator?.Dispose(); leftFan?.Dispose(); rightFan?.Dispose(); suspensionLeftFront?.Dispose(); suspensionLeftRear?.Dispose(); suspensionRightFront?.Dispose(); suspensionRightRear?.Dispose(); }
private void LoadLights(bool force = false) { if (!force && _isNight == Utils.IsNight()) { return; } _isNight = Utils.IsNight(); _hoodboxLights?.Dispose(); if (_isNight) { _hoodboxLights = new AnimateProp(Vehicle, ModelHandler.HoodboxLightsNight, "bonnet"); } else { _hoodboxLights = new AnimateProp(Vehicle, ModelHandler.HoodboxLights, "bonnet"); } }
public override void Dispose() { speedoProp?.Dispose(); _compass?.Dispose(); }
public override void Dispose() { plutoniumCap?.Dispose(); }
public override void Dispose() { tfcOn?.Dispose(); tfcOff?.Dispose(); tfcHandle?.Dispose(); }
public override void Dispose() { _spark.Dispose(); }
public override void Dispose() { _compass?.Dispose(); }