// Use this for initialization void Start() { AppSoftware = GameObject.Find("Applications"); HackingSoftware = GameObject.Find("Hacking"); SysSoftware = GameObject.Find("System"); //Computer = GameObject.Find("Computer"); //System clk = SysSoftware.GetComponent <Clock>(); defalt = SysSoftware.GetComponent <Defalt>(); am = SysSoftware.GetComponent <AppMenu>(); cmd = SysSoftware.GetComponent <CLI>(); com = SysSoftware.GetComponent <Computer>(); sc = SysSoftware.GetComponent <SoundControl>(); appman = SysSoftware.GetComponent <AppMan>(); boot = SysSoftware.GetComponent <Boot>(); post = SysSoftware.GetComponent <POST>(); os = SysSoftware.GetComponent <OS>(); mouse = SysSoftware.GetComponent <Mouse>(); desk = SysSoftware.GetComponent <Desktop>(); //Applications al = AppSoftware.GetComponent <AccLog>(); sm = AppSoftware.GetComponent <SystemMap>(); ib = AppSoftware.GetComponent <InternetBrowser>(); //Hacking prog = HackingSoftware.GetComponent <Progtive>(); trace = HackingSoftware.GetComponent <Tracer>(); cy = HackingSoftware.GetComponent <Descy>(); ds = HackingSoftware.GetComponent <DirSearch>(); mb = GetComponent <MissionBrow>(); cc = GetComponent <CurContracts>(); sl = GetComponent <SiteList>(); note = GetComponent <Notepad>(); fav = GetComponent <Favs>(); tv = GetComponent <TreeView>(); mPass = GetComponent <MonitorBypass>(); wsv = GetComponent <WebSecViewer>(); sdp = GetComponent <ShutdownProm>(); Audio = GetComponent <AudioSource>(); windowRect.x = Customize.cust.windowx[windowID]; windowRect.y = Customize.cust.windowy[windowID]; Audio.volume = Customize.cust.Volume; DesktopY = -50; StartTime = 0.030f; Snap = false; if (Size == 0) { Size = 21; } }
void Start() { SysSoftware = GameObject.Find("System"); AppSoftware = GameObject.Find("Applications"); HackingSoftware = GameObject.Find("Hacking"); com = SysSoftware.GetComponent <Computer>(); ib = AppSoftware.GetComponent <InternetBrowser>(); note = AppSoftware.GetComponent <Notepad>(); prog = HackingSoftware.GetComponent <Progtive>(); al = SysSoftware.GetComponent <AccLog>(); trace = HackingSoftware.GetComponent <Tracer>(); cy = SysSoftware.GetComponent <Descy>(); ds = SysSoftware.GetComponent <DirSearch>(); tv = SysSoftware.GetComponent <TreeView>(); al = AppSoftware.GetComponent <AccLog>(); cmd = SysSoftware.GetComponent <CLI>(); sm = AppSoftware.GetComponent <SystemMap>(); clk = SysSoftware.GetComponent <Clock>(); defalt = SysSoftware.GetComponent <Defalt>(); sc = SysSoftware.GetComponent <SoundControl>(); appmenu = SysSoftware.GetComponent <AppMenu>(); appman = SysSoftware.GetComponent <AppMan>(); windowRect.x = Customize.cust.windowx[windowID]; windowRect.y = Customize.cust.windowy[windowID]; native_height = Customize.cust.native_height; native_width = Customize.cust.native_width; UpdateUI(); for (Index = 0; Index < GameControl.control.ProgramFiles.Count; Index++) { if (GameControl.control.ProgramFiles[Index].Name == "Gateway") { TestCheck = true; } } if (Index >= GameControl.control.ProgramFiles.Count) { if (TestCheck == false) { Test(); } } X = -350; Speed = 600; windowID = appmenu.windowID; }
void Start() { SysSoftware = GameObject.Find("System"); AppSoftware = GameObject.Find("Applications"); HackingSoftware = GameObject.Find("Hacking"); com = SysSoftware.GetComponent <Computer>(); ib = AppSoftware.GetComponent <InternetBrowser>(); note = AppSoftware.GetComponent <Notepad>(); prog = HackingSoftware.GetComponent <Progtive>(); al = SysSoftware.GetComponent <AccLog>(); trace = HackingSoftware.GetComponent <Tracer>(); cy = SysSoftware.GetComponent <Descy>(); ds = SysSoftware.GetComponent <DirSearch>(); tv = SysSoftware.GetComponent <TreeView>(); al = AppSoftware.GetComponent <AccLog>(); cmd = SysSoftware.GetComponent <CLI>(); sm = AppSoftware.GetComponent <SystemMap>(); clk = SysSoftware.GetComponent <Clock>(); defalt = SysSoftware.GetComponent <Defalt>(); sc = SysSoftware.GetComponent <SoundControl>(); appmenu = SysSoftware.GetComponent <AppMenu>(); appman = SysSoftware.GetComponent <AppMan>(); windowRect.x = Customize.cust.windowx[windowID]; windowRect.y = Customize.cust.windowy[windowID]; native_height = Customize.cust.native_height; native_width = Customize.cust.native_width; UpdateUI(); if (GameControl.control.QuickProgramList.Count < 1) { Test(); } X = 700; Speed = 3; windowID = appmenu.windowID; }