protected override void RefreshUI(NetInfo netInfo) { nodeMarkingsHiddenCheckbox.isVisible = NetworkSkinPanelController.RoadDecoration.CanHideNodeMarkings; nodeMarkingsHiddenCheckbox.SetChecked(NetworkSkinPanelController.RoadDecoration.NodeMarkingsHidden); arrowsHiddenCheckbox.isVisible = NetworkSkinPanelController.RoadDecoration.HasArrows; arrowsHiddenCheckbox.SetChecked(NetworkSkinPanelController.RoadDecoration.ArrowsHidden); signsHiddenCheckbox.isVisible = NetworkSkinPanelController.RoadDecoration.HasSigns; signsHiddenCheckbox.SetChecked(NetworkSkinPanelController.RoadDecoration.SignsHidden); decorationHiddenCheckbox.isVisible = NetworkSkinPanelController.RoadDecoration.HasDecoration; decorationHiddenCheckbox.SetChecked(NetworkSkinPanelController.RoadDecoration.DecorationHidden); transportStopsHiddenCheckbox.isVisible = NetworkSkinPanelController.RoadDecoration.HasTransportStops; transportStopsHiddenCheckbox.SetChecked(NetworkSkinPanelController.RoadDecoration.TransportStopsHidden); trafficLightsHiddenCheckbox.isVisible = NetworkSkinPanelController.RoadDecoration.HasTrafficLights; trafficLightsHiddenCheckbox.SetChecked(NetworkSkinPanelController.RoadDecoration.TrafficLightsHidden); levelCrossingsHiddenCheckbox.isVisible = NetworkSkinPanelController.RoadDecoration.HasLevelCrossings; levelCrossingsHiddenCheckbox.SetChecked(NetworkSkinPanelController.RoadDecoration.LevelCrossingsHidden); }
protected override void RefreshUI(NetInfo netInfo) { nodeMarkingsHiddenCheckbox.SetChecked(NetworkSkinPanelController.RoadDecoration.NodeMarkingsHidden); }