We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88fcf42 commit a6b0d2cCopy full SHA for a6b0d2c
1 file changed
UnityNativeToolkit/Assets/Scripts/Plugins/NativeToolkit/NativeToolkit.cs
@@ -89,6 +89,8 @@ void Start()
89
//SpeechRecognizer
90
startListening_btn.onClick.AddListener(() => { plugin.StartListening(); });
91
setContinousListening.onValueChanged.AddListener((isOn) => { plugin.SetContinuousListening(isOn); });
92
+ //SpeechToText
93
+ speak_btn.onClick.AddListener(() => { plugin.Speak(textToSpeak.text, language.text, country.text); });
94
}
95
96
public void SetResultText(string result)
0 commit comments