Beispiel #1
0
        public void Initialize(Anchor anchor)
        {
            if (m_Initialized)
            {
                return;
            }

            m_TextToSpeechController = GetComponentInChildren <TextToSpeechController>(true);
            m_SpeechToTextController = GetComponentInChildren <SpeechToTextController>(true);
            m_FaceController         = GetComponentInChildren <FaceController>(true);
            base.Awake();

            LookAtCamera();
            ARAnchor      = anchor;
            m_Initialized = true;
        }
Beispiel #2
0
 private void SetFaceController()
 {
     m_FaceController = FaceController.Instance;
 }