コード例 #1
0
 void Awake()
 {
     this.Log("Awake");
     configWindow = new SavedGameConfigWindow(globalSettings, gameSettings);
     GameEvents.onGUIApplicationLauncherReady.Add(OnGUIAppLauncherReady);
     OnGUIAppLauncherReady();
 }
コード例 #2
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);
 }