public CivilianPopulationGUI(CivPopServiceRent rent) { GameEvents.onGUIApplicationLauncherReady.Add(onAppLauncherReady); //when AppLauncher can take apps, give it OnAppLauncherReady (mine) GameEvents.onGUIApplicationLauncherDestroyed.Add(onAppLauncherDestroyed); //Not sure what this does cheatPanel = new CheatPanel(rent); crewPanel = new CrewPanel(); vesselsPanel = new VesselsPanel(); }
public CivilianPopulationGUI(CivPopServiceRent rent) { InitButton(); #if DEBUG cheatPanel = new CheatPanel(rent); #endif crewPanel = new CrewPanel(); vesselsPanel = new VesselsPanel(); baseWindowID = UnityEngine.Random.Range(1000, 2000000) + _AssemblyName.GetHashCode(); }
public CivilianPopulationGUI(CivPopServiceRent rent) { #if false GameEvents.onGUIApplicationLauncherReady.Add(onAppLauncherReady); //when AppLauncher can take apps, give it OnAppLauncherReady (mine) GameEvents.onGUIApplicationLauncherDestroyed.Add(onAppLauncherDestroyed); //Not sure what this does #endif InitButton(); cheatPanel = new CheatPanel(rent); crewPanel = new CrewPanel(); vesselsPanel = new VesselsPanel(); baseWindowID = UnityEngine.Random.Range(1000, 2000000) + _AssemblyName.GetHashCode(); }