// Progtive is the one at a time sequential cracker // Use this for initialization void Start() { Hardware = GameObject.Find("Hardware"); Prompts = GameObject.Find("Prompts"); SysSoftware = GameObject.Find("System"); HackingSoftware = GameObject.Find("Hacking"); AppSoftware = GameObject.Find("Applications"); ep = Prompts.GetComponent <ErrorProm>(); com = SysSoftware.GetComponent <Computer>(); trace = HackingSoftware.GetComponent <Tracer>(); cmd = SysSoftware.GetComponent <CLICommands>(); defalt = SysSoftware.GetComponent <Defalt>(); ib = AppSoftware.GetComponent <InternetBrowser>(); ws = AppSoftware.GetComponent <WebSec>(); cpu = Hardware.GetComponent <CPU>(); sc = SysSoftware.GetComponent <SoundControl>(); windowRect.x = Customize.cust.windowx[windowID]; windowRect.y = Customize.cust.windowy[windowID]; native_height = Customize.cust.native_height; native_width = Customize.cust.native_width; DictionaryVersion = 1; windowRect.height = 130; }
void AfterStart() { def = system.GetComponent <Defalt>(); com = system.GetComponent <Computer>(); sc = system.GetComponent <SoundControl>(); cli = GetComponent <CLICommands>(); appman = GetComponent <AppMan>(); native_height = Customize.cust.native_height; native_width = Customize.cust.native_width; PosCheck(); }
static void Main(string[] args) { Console.WriteLine("Hello World!"); try { CLICommands.CreateProject(); Thread.Sleep(10000); CatalogsNames.CreateDirectories(); } catch(Exception ex) { string tets = ex.StackTrace; } }
// Use this for initialization void Start() { cd = GameControl.control.BootTime; Kernal(); missions = GameObject.Find("Missions"); jd = GetComponent <JailDew>(); uc = GetComponent <Unicom>(); test = GetComponent <Test>(); disk = GetComponent <CD>(); com = GetComponent <Computer>(); note = GetComponent <Notepad>(); pro = GetComponent <Progtive>(); trace = GetComponent <Tracer>(); mb = GetComponent <MissionBrow>(); cc = GetComponent <CurContracts>(); sl = GetComponent <SiteList>(); al = GetComponent <AccLog>(); ds = GetComponent <DirSearch>(); tv = GetComponent <TreeView>(); clk = GetComponent <Clock>(); cmd = GetComponent <CLI> (); def = GetComponent <Defalt>(); mg = GetComponent <MissionGen>(); os = GetComponent <OS>(); sm = GetComponent <SystemMap>(); wsv = GetComponent <WebSecViewer>(); ep = GetComponent <ErrorProm>(); sdp = GetComponent <ShutdownProm>(); sp = GetComponent <SystemPanel>(); sc = GetComponent <SoundControl>(); desk = GetComponent <Desktop>(); ct = GetComponent <CustomTheme>(); mouse = GetComponent <Mouse>(); ss = GetComponent <ScreenSaver>(); clic = GetComponent <CLICommands>(); missiongen = missions.GetComponent <MissionGen>(); missionbrow = missions.GetComponent <MissionBrow>(); currentcontracts = missions.GetComponent <CurContracts>(); RotationCooldown = 0.01f; if (Application.isEditor == true) { windowRect.width = Screen.width; windowRect.height = Screen.height; } else { windowRect.width = Customize.cust.RezX; windowRect.height = Customize.cust.RezY; } Pos.width = windowRect.width / 2; Pos.height = windowRect.height / 2; windowRect.x = 0; windowRect.y = 0; x = Pos.width - 30; y = Pos.height; GameControl.control.GUIID = Customize.cust.GUIID; StartTimer = 0.01f; PlaySoundOnce = false; LoadPresetColors(); missiongen.enabled = true; missionbrow.enabled = true; currentcontracts.enabled = true; }