void Start()
 {
     // register callbacks to VuMark Manager
     mVuMarkManager = TrackerManager.Instance.GetStateManager().GetVuMarkManager();
     mVuMarkManager.RegisterVuMarkDetectedCallback(OnVuMarkDetected);
     mVuMarkManager.RegisterVuMarkLostCallback(OnVuMarkLost);
 }
示例#2
0
 void Start()
 {
     // register callbacks to VuMark Manager
     _vuMarkManager = TrackerManager.Instance.GetStateManager().GetVuMarkManager();
     _vuMarkManager.RegisterVuMarkDetectedCallback(OnVuMarkDetected);
     _vuMarkManager.RegisterVuMarkLostCallback(OnVuMarkLost);
     _rotationValues = new List <float>();
 }
示例#3
0
        void Start()
        {
            // register callbacks to VuMark Manager
            _vuMarkManager = TrackerManager.Instance.GetStateManager().GetVuMarkManager();
            _vuMarkManager.RegisterVuMarkDetectedCallback(OnVuMarkDetected);
            _vuMarkManager.RegisterVuMarkLostCallback(OnVuMarkLost);

            _gameObjectManager = GameObjectManager.Instance;
        }
    void Start()
    {
        mIdPanel = GetComponent <PanelShowHide>();

        // register callbacks to VuMark Manager
        mVuMarkManager = TrackerManager.Instance.GetStateManager().GetVuMarkManager();
        mVuMarkManager.RegisterVuMarkDetectedCallback(OnVuMarkDetected);
        mVuMarkManager.RegisterVuMarkLostCallback(OnVuMarkLost);
    }
示例#5
0
    private void Start()
    {
        vuMarkManager = TrackerManager.Instance.GetStateManager().GetVuMarkManager(); // Set VuMarkManager
        vuMarkManager.RegisterVuMarkDetectedCallback(OnVuMarkDetected);               // Set VuMark detected
        vuMarkManager.RegisterVuMarkLostCallback(OnVuMarkLost);                       // Set VuMark Lost

        //foreach (var model in m_ModelList) // Deactivate all models
        //    model.SetActive (false);
    }
    // Use this for initialization
    void Start()
    {
        _vuMarkManager = TrackerManager.Instance.GetStateManager().GetVuMarkManager();
        _vuMarkManager.RegisterVuMarkDetectedCallback(OnVuMarkDetected);
        _vuMarkManager.RegisterVuMarkLostCallback(OnVuMarkLost);
        VuMarkHandler.Instance.VuMarkDetected += Instance_VuMarkDetected;

        _renderer = GetComponentsInChildren <Renderer>();
    }
示例#7
0
    void Start()
    {
        mIdPanel = GetComponent <PanelShowHide>();

        secretKey = Resources.Load <TextAsset>("secret").text;

        // register callbacks to VuMark Manager
        mVuMarkManager = TrackerManager.Instance.GetStateManager().GetVuMarkManager();
        mVuMarkManager.RegisterVuMarkDetectedCallback(OnVuMarkDetected);
        mVuMarkManager.RegisterVuMarkLostCallback(OnVuMarkLost);
    }
示例#8
0
    void Start()
    {
        //       mIdPanel = GetComponent<PanelShowHide>();

        dataController = FindObjectOfType <DataController>();


        // register callbacks to VuMark Manager
        mVuMarkManager = TrackerManager.Instance.GetStateManager().GetVuMarkManager();
        mVuMarkManager.RegisterVuMarkDetectedCallback(OnVuMarkDetected);
        mVuMarkManager.RegisterVuMarkLostCallback(OnVuMarkLost);
        //mVuMarkManager.RegisterVuMarkBehaviourDetectedCallback(OnBehaviourDetected);
    }
示例#9
0
    void Start()
    {
        // Set VuMarkManager
        vuMarkManager = TrackerManager.Instance.GetStateManager().GetVuMarkManager();
        // Set VuMark detected and lost behavior methods
        vuMarkManager.RegisterVuMarkDetectedCallback(onVuMarkDetected);
        vuMarkManager.RegisterVuMarkLostCallback(onVuMarkLost);

        // Deactivate all models
        foreach (GameObject item in modelList)
        {
            item.SetActive(false);
        }
    }
    int valorObjeto;                       //Variable utilizada para guardar la posicion del objeto dentro del array


    void Start()
    {
        m_VuMarkManager = TrackerManager.Instance.GetStateManager().GetVuMarkManager();
        m_VuMarkManager.RegisterVuMarkDetectedCallback(OnVuMarkDetected);
        m_VuMarkManager.RegisterVuMarkLostCallback(OnVuMarkLost);

        //Desactiva todos los objetos
        for (int i = 0; i < arrayObjetos.Length; i++)
        {
            arrayObjetos[i].SetActive(false);
        }

        txtId.text          = "";   //Borra el texto actual
        imgVuMark.sprite    = null; //Borra el texto actual
        txtDescripcion.text = "";   //Borra la imagen actual
    }
    // Use this for initialization
    void Start()
    {
        // Get the Planet View component
        planetView = GetComponent <PlanetView>();



        // Register callbacks to VuMark Manager
        mVuMarkManager = TrackerManager.Instance.GetStateManager().GetVuMarkManager();
        mVuMarkManager.RegisterVuMarkDetectedCallback(OnVuMarkDetected);


        mVuMarkManager.RegisterVuMarkLostCallback(OnVuMarkLost);

        // Deactivate all Planet views
        //solarSystem.SetActive(false);
        foreach (GameObject item in bodiesObj)
        {
            Debug.Log("item : " + item);
            //Debug.Log(item);
            //item.SetActive(false);
        }
    }
示例#12
0
 // Use this for initialization
 void Start()
 {
     vuMarkManager = TrackerManager.Instance.GetStateManager().GetVuMarkManager();
     vuMarkManager.RegisterVuMarkDetectedCallback(VuMarkDetected);
     vuMarkManager.RegisterVuMarkLostCallback(VuMarkLost);
 }