Exemple #1
0
        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));
        }
Exemple #2
0
 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();
 }
Exemple #3
0
        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));
        }