public SpaceCenterManager()
 {
     this.Log("Constructor");
     globalSettings = TacLifeSupport.Instance.globalSettings;
     gameSettings = TacLifeSupport.Instance.gameSettings;
     button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 32, 32), "ThunderAerospace/TacLifeSupport/Textures/greenIcon",
         "LS", "TAC Life Support Configuration Window", OnIconClicked, "SpaceCenterIcon");
     configWindow = new SavedGameConfigWindow(globalSettings, gameSettings);
 }
        void Awake()
        {
            this.Log("Awake");
            globalSettings = TacLifeSupport.Instance.globalSettings;
            gameSettings = TacLifeSupport.Instance.gameSettings;
            rosterWindow = new RosterWindow(globalSettings, gameSettings);
            monitoringWindow = new LifeSupportMonitoringWindow(this, globalSettings, gameSettings, rosterWindow);

            button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 32, 32), "ThunderAerospace/TacLifeSupport/Textures/greenIcon",
                "LS", "TAC Life Support Monitoring Window", OnIconClicked, "FlightIcon");

            configFilename = IOUtils.GetFilePathFor(this.GetType(), "LifeSupport.cfg");
        }
Esempio n. 3
0
        public TacLifeSupport()
        {
            this.Log("Constructor");
            Instance = this;
            gameSettings = new GameSettings();
            globalSettings = new GlobalSettings();

            globalConfigFilename = IOUtils.GetFilePathFor(this.GetType(), "LifeSupport.cfg");
        }