Ejemplo n.º 1
0
 public LifeSupportMonitoringWindow(LifeSupportController controller, GlobalSettings globalSettings, TacGameSettings gameSettings, RosterWindow rosterWindow)
     : base("Life Support Monitoring", 300, 300)
 {
     this.gameSettings = gameSettings;
     this.rosterWindow = rosterWindow;
     version           = Utilities.GetDllVersion(this);
     windowPos.y       = 75;
 }
 public LifeSupportMonitoringWindow(LifeSupportController controller, Settings settings, SettingsWindow settingsWindow, RosterWindow rosterWindow)
     : base("Life Support Monitoring", 300, 300)
 {
     this.controller     = controller;
     this.settings       = settings;
     this.settingsWindow = settingsWindow;
     this.rosterWindow   = rosterWindow;
 }
Ejemplo n.º 3
0
        public override void OnStart(PartModule.StartState state)
        {
            Debug.Log("TAC Converter [" + this.GetInstanceID().ToString("X") + "][" + Time.time + "]: OnStart: " + state);
            base.OnStart(state);

            if (state != StartState.Editor)
            {
                controller = LifeSupportController.Instance;
                settings   = controller.settings;
                part.force_activate();
            }
        }
        public override void OnStart(PartModule.StartState state)
        {
            Debug.Log("TAC Converter [" + this.GetInstanceID().ToString("X") + "][" + Time.time + "]: OnStart: " + state);
            base.OnStart(state);

            if (state != StartState.Editor)
            {
                controller = LifeSupportController.Instance;
                settings = controller.settings;
            }
        }