protected void drawReliability(EditorBayItem editorBayItem) { //Reliability GUILayout.Label("<color=white><b>" + Localizer.Format(BARISScenario.ReliabilityLabel) + "</b>" + editorBayItem.baseReliability + "/" + editorBayItem.maxReliability + "</color>"); //Build Time Status GUILayout.Label(VehicleIntegrationStatusView.GetIntegrationStatusLabel(editorBayItem)); }
public void Awake() { appIcon = GameDatabase.Instance.GetTexture("WildBlueIndustries/000BARIS/BARISIcon", false); GameEvents.onGUIApplicationLauncherReady.Add(SetupGUI); flightAppView = new BARISAppFlightView(); trackingAppView = new BARISAppTrackingView(); centerAppView = new BARISAppCenterView(); instructionsView = new BARISInstructions(); editorView = new BARISEditorView(); vehicleIntegrationStatusView = new VehicleIntegrationStatusView(); kctEditorView = new KCTEditorView(); }
protected void drawReliability(EditorBayItem editorBayItem) { //Reliability if (KACWrapper.InstanceExists && KACWrapper.APIReady) { GUILayout.Label("<color=white><b>" + Localizer.Format(BARISScenario.IntegratedReliabilityLabel) + "</b>" + editorBayItem.maxReliability + "</color>"); } else { GUILayout.Label("<color=white><b>" + Localizer.Format(BARISScenario.ReliabilityLabel) + "</b>" + editorBayItem.baseReliability + "/" + editorBayItem.maxReliability + "</color>"); } //Build Time Status GUILayout.Label(VehicleIntegrationStatusView.GetIntegrationStatusLabel(editorBayItem)); }