Ejemplo n.º 1
0
 public override void OnStart(StartState state)
 {
     base.OnStart(state);
     manifestAdmin = new ExpManifestAdminView();
     GetExperimentSlots();
     manifestAdmin.SetupView(this.part, false, false);
 }
Ejemplo n.º 2
0
        public override void OnStart(StartState state)
        {
            base.OnStart(state);
            manifestAdmin = new ExpManifestAdminView();
            GetExperimentSlots();
            manifestAdmin.SetupView(this.part, false, false);

            this.Events["ShowManifestGUI"].guiActive = !editorOnly;
        }
Ejemplo n.º 3
0
 public override void OnStart(StartState state)
 {
     base.OnStart(state);
     manifestAdmin = new ExpManifestAdminView();
     GetExperimentSlots();
     switcher = this.part.FindModuleImplementing <WBIResourceSwitcher>();
     manifestAdmin.SetupView(this.part, !HighLogic.LoadedSceneIsEditor, !HighLogic.LoadedSceneIsEditor, this);
     manifestAdmin.canCreateExperiments    = this.canCreateExperiments;
     manifestAdmin.needsConnectionToKSC    = this.needsConnectionToKSC;
     manifestAdmin.minimumCreationLevel    = this.minimumCreationLevel;
     manifestAdmin.experimentCreationSkill = this.experimentCreationSkill;
     manifestAdmin.creationTags            = this.creationTags;
     SetupGUI(isGUIVisible);
     setupExperimentResources();
 }