void Awake() { this.Log("Awake"); globalSettings = BioMass.Instance.globalSettings; saveGame = BioMass.Instance.saveGame; monitoringWindow = new BioVesselMonitoringWindow(this, globalSettings, saveGame); button = new ButtonWrapper(new Rect(Screen.width * 0.75f, 0, 32, 32), Settings.PathTextures + "/HerbIcon", "BM", "BioMass Monitoring", OnIconClicked, "HerbIcon"); }
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"); }