コード例 #1
0
ファイル: EditorBayView.cs プロジェクト: AkiraR/BARIS
        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));
        }
コード例 #2
0
ファイル: BARISAppButton.cs プロジェクト: Makrond/BARIS
 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();
 }
コード例 #3
0
ファイル: EditorBayView.cs プロジェクト: Makrond/BARIS
        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));
        }