void Awake() { this.Log("Awake"); configWindow = new SavedGameConfigWindow(globalSettings, gameSettings); GameEvents.onGUIApplicationLauncherReady.Add(OnGUIAppLauncherReady); OnGUIAppLauncherReady(); }
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); }