Beispiel #1
0
    public string vuforiaMarkerId = "eed385f01b6d4f11a32a43304d6deb2f"; // id of sense_smart_logo_in Vuforia DB.

    // you still have to login and download the existing images that are stored there, THEN import the BD into Unity



    //  CONNECTION STUFF

    // Use this for initialization
    void Start()
    {
        boss         = PersistantManager.Instance;
        currentCount = 0;

        bool dead = false;

        try
        {
            entityManager = GetComponent <SSRP_entity_manager>();
        }
        catch
        {
            dead = true;
            Debug.LogWarning("EntityManager not set up");
        }
        if (!dead)
        {
            boss.hud.addText("Booting up and checking for connections");
            isInitializing  = true;
            isBeating       = true;
            isAuthenticated = false;

            StartCoroutine(checkInternetConnection());
            StartCoroutine(Heartbeat());
        }
        //*/

        // coreFunctionTester();
    }
Beispiel #2
0
    private void init()
    {
        hasHud = false;
        try
        {
            _hud         = hudView.GetComponent <SSRP_hud_controller>();
            _ssrpIcon    = ssrpStatusIconView.GetComponent <BinaryStateIcon>();
            _connectIcon = internetStatusIconView.GetComponent <BinaryStateIcon>();
            _workingIcon = workingStatusIconView.GetComponent <BinaryStateIcon>();
            _target      = targetManagerView.GetComponent <SSRP_target_controller>();
            _entity      = entityManagerView.GetComponent <SSRP_entity_manager>();
            _interaction = interactionManagerView.GetComponent <interactionListener>();
            _connection  = connectionManagerView.GetComponent <SSRP_reader>();
            hasHud       = true;
            Debug.Log("Hud Found, debugging to commence there");
            hud.addText("HUD active");
        }
        catch
        {
            Debug.LogWarning("Hud and icons not found");
        }
        //hud.addText("[peopleToThank]");

        /*
         * foreach (string person in peopleToThank)
         * {
         *  hud.addText("Thanks to: ");
         * }
         * // */
    }
    public string vuforiaMarkerId = "eed385f01b6d4f11a32a43304d6deb2f"; // id of sense_smart_logo_in Vuforia DB.

    // you still have to login and download the existing images that are stored there, THEN import the BD into Unity



    //  CONNECTION STUFF

    // Use this for initialization
    void Start()
    {
        boss = PersistantManager.Instance;



        try
        {
            entityManager = GetComponent <SSRP_entity_manager>();
        }
        catch
        {
            Debug.LogWarning("EntityManager not set up");
        }

        isBeating       = true;
        isAuthenticated = false;
        StartCoroutine(checkInternetConnection());
        StartCoroutine(Heartbeat());
        //*/

        // coreFunctionTester();
    }