问题标签 [speechsynthesizer]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - 循环内的 SpeechSynthesizer 没有统一迭代
我正在将代码从https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/quickstart/csharp/unity/text-to-speech/Assets/Scripts/HelloWorld.cs修改为让它从 1 计数到 10。虽然迭代在控制台中显示得很好,但系统只显示“十”。
我试图让它说“一”,“二”,“三”......“十”使用for循环。
我错过了什么?