public SpeechRecognition(SpeechInput speechInput)
        {
            if (speechInput.Mapping == null)
                throw new Exception("The given mapping must not be null");

            this.speechInput = speechInput;

            InitSpeechRecognition();
        }
Exemple #2
0
        public SpeechRecognition(SpeechInput speechInput)
        {
            if (speechInput.Mapping == null)
            {
                throw new Exception("The given mapping must not be null");
            }

            this.speechInput = speechInput;

            InitSpeechRecognition();
        }
Exemple #3
0
 void Awake()
 {
     speechInput = FindObjectOfType <SpeechInput>();
 }