// Use this for initialization void Start() { //FilesToDelete.Capacity = DeleteAmt; Prompts = GameObject.Find("Prompts"); noti = Prompts.GetComponent <NotfiPrompt>(); missionbrow = GetComponent <MissionBrow>(); StartTime = 5; DeleteStartTime = 1; MissionTotal = 100; NewMissionStartTime = Random.Range(1, 60); NewMissionTimer = NewMissionStartTime; StoryMissionSystem(); if (GameControl.control.WebsiteFiles.Count > 200) { if (MissionList.Count >= MissionTotal) { GeneratingMissions(); } } }
// Use this for initialization void Start() { missions = GameObject.Find("Missions"); prompt = GameObject.Find("Prompts"); misgen = missions.GetComponent <MissionGen>(); noti = prompt.GetComponent <NotfiPrompt>(); ec = GetComponent <EmailClient>(); }
void Start() { Prompt = GameObject.Find("Prompts"); noti = Prompt.GetComponent <NotfiPrompt>(); com = GetComponent <Computer>(); native_height = Customize.cust.native_height; native_width = Customize.cust.native_width; CurrentDate(); UpdateDayNames(); UpdateMonths(); FullDate(); }
// Use this for initialization void Start() { Crash = GameObject.Find("Crash"); Desktops = GameObject.Find("Desktops"); Software = GameObject.Find("Software"); prompt = GameObject.Find("Prompts"); System = GameObject.Find("System"); noti = prompt.GetComponent <NotfiPrompt>(); SCM = Crash.GetComponent <SysCrashMan> (); tv = System.GetComponent <TaskViewer>(); appman = System.GetComponent <AppMan>(); }
// Use this for initialization void Start() { SysSoftware = GameObject.Find("System"); Prompts = GameObject.Find("Prompts"); com = SysSoftware.GetComponent <Computer>(); def = SysSoftware.GetComponent <Defalt>(); noti = Prompts.GetComponent <NotfiPrompt>(); native_height = Customize.cust.native_height; native_width = Customize.cust.native_width; CloseButton = new Rect(178, 1, 21, 21); MiniButton = new Rect(157, 1, 21, 21); DefaltSetting.width = 200; DefaltSetting.height = 200; PosCheck(); InstalledProgramCheck(); CommandCheck(); }
void ProgramSetup() { AppSoftware = GameObject.Find("Applications"); QA = GameObject.Find("QA"); HackingSoftware = GameObject.Find("Hacking"); SysSoftware = GameObject.Find("System"); Computer = GameObject.Find("Computer"); Other = GameObject.Find("Other"); Missions = GameObject.Find("Missions"); qa = QA.GetComponent <BugReport>(); //mb = GetComponent<MissionBrow>(); sl = Computer.GetComponent <SiteList>(); wsv = Computer.GetComponent <WebSecViewer>(); //Hacking Software pro = HackingSoftware.GetComponent <Progtive>(); trace = HackingSoftware.GetComponent <Tracer>(); ds = HackingSoftware.GetComponent <DirSearch>(); dc = HackingSoftware.GetComponent <DicCrk>(); passcrk = HackingSoftware.GetComponent <PasswordCracker>(); //System Sofware dsk = SysSoftware.GetComponent <Desktop>(); com = SysSoftware.GetComponent <Computer>(); ss = SysSoftware.GetComponent <ScreenSaver>(); sp = SysSoftware.GetComponent <SystemPanel>(); am = SysSoftware.GetComponent <AppMenu>(); tasks = SysSoftware.GetComponent <TaskViewer>(); clk = SysSoftware.GetComponent <Clock>(); cmd = SysSoftware.GetComponent <CLI>(); cmd2 = SysSoftware.GetComponent <CLIV2>(); os = SysSoftware.GetComponent <OS>(); dm = SysSoftware.GetComponent <DiskMan>(); mouse = SysSoftware.GetComponent <Mouse>(); fp = SysSoftware.GetComponent <FileExplorer>(); dem = SysSoftware.GetComponent <DeviceManager>(); vc = SysSoftware.GetComponent <VolumeController>(); //Application Softwate // port = AppSoftware.GetComponent<Portfolio>(); tr = AppSoftware.GetComponent <TextReader>(); sm = AppSoftware.GetComponent <SystemMap>(); al = AppSoftware.GetComponent <AccLog>(); note = AppSoftware.GetComponent <Notepad>(); notev2 = AppSoftware.GetComponent <Notepadv2>(); cc = AppSoftware.GetComponent <EmailClient>(); tv = AppSoftware.GetComponent <TreeView>(); nv = AppSoftware.GetComponent <NotificationViewer>(); pv = AppSoftware.GetComponent <PlanViewer>(); //calendar = AppSoftware.GetComponent<Calendar>(); calendarv2 = AppSoftware.GetComponent <CalendarV2>(); eventview = AppSoftware.GetComponent <EventViewer>(); exchangeview = AppSoftware.GetComponent <ExchangeViewer>(); // Application Browsers ib = AppSoftware.GetComponent <InternetBrowser>(); eib = AppSoftware.GetComponent <NetViewer>(); fib = AppSoftware.GetComponent <Firefox>(); rv = AppSoftware.GetComponent <RemoteView>(); cal = AppSoftware.GetComponent <Calculator>(); mp = AppSoftware.GetComponent <MusicPlayer>(); // Prompts ip = Prompts.GetComponent <InstallPrompt>(); pp = Prompts.GetComponent <PurchasePrompt>(); ep = Prompts.GetComponent <ErrorProm>(); sdp = Prompts.GetComponent <ShutdownProm>(); rp = Prompts.GetComponent <RezPrompt>(); // shareprompt = Prompts.GetComponent<SharePrompt>(); notiprompt = Prompts.GetComponent <NotfiPrompt>(); //OTHER vmd = Other.GetComponent <VMDesigner>(); // Computer ct = Computer.GetComponent <CustomTheme>(); //Missions misgen = Missions.GetComponent <MissionGen>(); }
void Start() { Prompt = GameObject.Find("Prompts"); noti = Prompt.GetComponent <NotfiPrompt>(); }
// 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 <CLICommandsV2>(); shc = GetComponent <SysHardwareCheck>(); missiongen = missions.GetComponent <MissionGen>(); missionbrow = missions.GetComponent <MissionBrow>(); currentcontracts = missions.GetComponent <CurContracts>(); Crash = GameObject.Find("Crash"); SCM = Crash.GetComponent <SysCrashMan>(); Prompt = GameObject.Find("Prompts"); noti = Prompt.GetComponent <NotfiPrompt>(); 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; }