khanhuitse05 / speech-and-text-unity-ios-android

Speed to text in Unity iOS use Native Speech Recognition
MIT License
286 stars 124 forks source link

I subscribed a method to the onDoneCallback but it's never called. #48

Closed Joaoplims closed 2 years ago

Joaoplims commented 3 years ago

I'm having trouble with the onDoneCallback. In my project, i need to stop a animation when the speech of the TTS is done, so i wrote a method and subscribed it in the onDoneCallback but this method is never called. How can i solve this? In which momment those callback are called by the TextToSpeech class?

XimpleApps commented 3 years ago

The ScriptContainer needs to have the name SpeechToText. Including Capital Letters