public void UpdateVisuals() { if (mainSegmentLight == null) { return; } mainSegmentLight.UpdateVisuals(); }
public void UpdateVisuals() { if (mainSegmentLight == null) { return; } /*CustomSegmentLight visualLight = null; * if (!CustomLights.TryGetValue(ExtVehicleType.RoadVehicle, out visualLight) && !CustomLights.TryGetValue(ExtVehicleType.RailVehicle, out visualLight)) * return;*/ mainSegmentLight.UpdateVisuals(); }