Exemplo n.º 1
0
    void WebSearch()
    {
        ws = AppSoftware.GetComponent <WebSec>();
        sm = AppSoftware.GetComponent <SystemMap>();

        testsite = Database.GetComponent <TestSite>();
        becas    = Database.GetComponent <Becas>();
        RevaTest = Database.GetComponent <Test>();
        ping     = Database.GetComponent <Ping>();
        uc       = Database.GetComponent <Unicom>();
        jd       = Database.GetComponent <JailDew>();
        LEC      = Database.GetComponent <LECBank>();
        reva     = Database.GetComponent <Reva>();
        st       = Database.GetComponent <ShareTrades>();
        mgw      = Minigames.GetComponent <MiniGameWeb>();
        tug      = Database.GetComponent <TUG>();
        sh       = Database.GetComponent <ServerHost>();
        test1    = Database.GetComponent <Test1>();
        gstocks  = Database.GetComponent <GStocks>();
        hs       = Database.GetComponent <HardwareSite>();
        //cc = Database.GetComponent<CabbageCorp>();

        dr = Minigames.GetComponent <DragRacer>();

        ib = AppSoftware.GetComponent <InternetBrowser>();
    }
Exemplo n.º 2
0
 void AfterStart()
 {
     native_height = Customize.cust.native_height;
     native_width  = Customize.cust.native_width;
     //WEBSITE STUFF
     ib = apps.GetComponent <InternetBrowser>();
     jd = db.GetComponent <JailDew>();
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     com          = GetComponent <Computer>();
     jd           = GetComponent <JailDew>();
     uc           = GetComponent <Unicom>();
     windowRect.x = Customize.cust.windowx[windowID];
     windowRect.y = Customize.cust.windowy[windowID];
 }
Exemplo n.º 4
0
    void Start()
    {
        SysSoftware = GameObject.Find("System");
        AppSoftware = GameObject.Find("Applications");
        Database    = GameObject.Find("Database");
        Minigames   = GameObject.Find("MiniGames");

        clic = SysSoftware.GetComponent <CLICommandsV2>();


        ws = AppSoftware.GetComponent <WebSec>();
        sm = AppSoftware.GetComponent <SystemMap>();

        testsite = Database.GetComponent <TestSite>();
        becas    = Database.GetComponent <Becas>();
        aki      = Database.GetComponent <Aki>();
        RevaTest = Database.GetComponent <Test>();
        revatest = Database.GetComponent <RevaTest>();
        ping     = Database.GetComponent <Ping>();
        uc       = Database.GetComponent <Unicom>();
        jd       = Database.GetComponent <JailDew>();
//		para = Database.GetComponent<Para>();
        LEC        = Database.GetComponent <LECBank>();
        reva       = Database.GetComponent <Reva>();
        st         = Database.GetComponent <ShareTrades>();
        mgw        = Minigames.GetComponent <MiniGameWeb>();
        tug        = Database.GetComponent <TUG>();
        sh         = Database.GetComponent <ServerHost>();
        test1      = Database.GetComponent <Test1>();
        gstocks    = Database.GetComponent <GStocks>();
        hs         = Database.GetComponent <HardwareSite>();
        store      = Database.GetComponent <Store>();
        melvenauni = Database.GetComponent <MelvenaUniversity>();
        isd        = Database.GetComponent <ISD>();
        //cc = Database.GetComponent<CabbageCorp>();

        dr = Minigames.GetComponent <DragRacer>();
    }
Exemplo n.º 5
0
    // 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;
    }