Ejemplo n.º 1
0
        private void Awake()
        {
            GameObject obj = GameObject.FindGameObjectWithTag("manager");

            dataManager = obj.GetComponent <TrackingDataManager>();
            OnFinishRecordingPrefab.SetActive(false);
            Timer.SetActive(false);
        }
Ejemplo n.º 2
0
        private void Start()
        {
            write = false;
            //reference ar face component
            TrackingDataManager dataManager = GameObject.FindGameObjectWithTag("manager").GetComponent <TrackingDataManager>();

            dataManager.SetRecorderReference(this.gameObject);
            m_faceManager = GameObject.FindGameObjectWithTag("arSessionOrigin").GetComponent <ARFaceManager>();
            m_faceManager.facesChanged += OnFaceUpdate;
        }
        private void Start()
        {
            TrackingDataManager dataManager = GameObject.FindGameObjectWithTag("manager").GetComponent <TrackingDataManager>();

            dataManager.SetRecorderReference(this.gameObject);
        }