private void Awake() { GameObject obj = GameObject.FindGameObjectWithTag("manager"); dataManager = obj.GetComponent <TrackingDataManager>(); OnFinishRecordingPrefab.SetActive(false); Timer.SetActive(false); }
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); }