//SpeechRecognizer Events private void onReadyForSpeech(string data) { dispatcher.InvokeAction( () => { if (speechPlugin != null) { speechPlugin.EnableModal(false); } microphoneImage.gameObject.SetActive(false); dotsImage.gameObject.SetActive(true); } ); }
//SpeechRecognizer Events private void onReadyForSpeech(string data) { dispatcher.InvokeAction( () => { if (speechPlugin != null) { //Disables modal speechPlugin.EnableModal(false); } UpdateStatus(data.ToString()); } ); }
//SpeechRecognizer Events private void onReadyForSpeech(string data) { Dispatcher.GetInstance().InvokeAction( () => { if (speechPlugin != null) { //Disables modal speechPlugin.EnableModal(false); } if (statusText != null) { statusText.text = String.Format("Status: {0}", data.ToString()); } } ); }