// Use this for initialization void Start() { Missions = GameObject.Find("Missions"); SysSoftware = GameObject.Find("System"); def = SysSoftware.GetComponent <Defalt>(); com = SysSoftware.GetComponent <Computer>(); appman = SysSoftware.GetComponent <AppMan>(); cc = Missions.GetComponent <CurContracts>(); Title = "Email - Contracts"; showContracts = true; native_height = Customize.cust.native_height; native_width = Customize.cust.native_width; //GameControl.control.EmailData.Add (new EmailSystem ("Test", "Lucas", "N/A", "This is a test email", 0, 0, 0, false,EmailSystem.EmailType.Junk)); MaxAttachmentSize = 20; RefreshList(); PosCheck(); ShowInbox(); showFolders = true; SetPos(); }
// 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; } }
// 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; }