예제 #1
0
 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);
 }
예제 #2
0
 public SpaceCenterController()
 {
     this.Log_DebugOnly("Constructor SCC");
     globalSettings = BioMass.Instance.globalSettings;
     saveGame = BioMass.Instance.saveGame;
     button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 32, 32), Settings.PathTextures+"/HerbIcon",
         "BM", "BioMass Configuration Window", OnIconClicked, "HerbIcon");
     configWindow = new SavedGameConfigWindow(globalSettings, saveGame);
     this.Log(Settings.PathTextures + "/HerbIcon");
 }
예제 #3
0
 public SpaceCenterController()
 {
     this.Log("Constructor SCC");
     globalSettings = BioMass.Instance.globalSettings;
     //saveGame = BioMass.Instance.saveGame;
     /*button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 32, 32), Settings.PathTextures+"/herbIcon",
         "BM", "BioMass Configuration Window", OnIconClicked, "HerbIcon");*/
     //button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 32, 32), "BioMass/Textures/HerbIcon","BM", "BioMass Configuration Window", OnIconClicked, "HerbIcon");
     button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 36, 36), "BioMass/Textures/bioIcon","BM", "BioMass Configuration Window", OnIconClicked, "bioIcon");
     configWindow = new SavedGameConfigWindow(globalSettings);
     this.Log(Settings.PathTextures + "/bioIcon");
 }