I tried to change the setting and the voice doesn't change.
Here's my code.
using TextSpeech;
const string LANG_CODE = "en-US";
void Start()
{
Setup(LANG_CODE);
StartSpeaking();
}
public void StartSpeaking()
{
string message = "Hello, welcome to Dark Run. Slide up to start the game," +
"slide down to quit the game.";
TextToSpeech.instance.StartSpeak(message);
}
void Setup(string code)
{
TextToSpeech.instance.Setting(code, 1, 1);
}
I tried to change the setting and the voice doesn't change. Here's my code.
using TextSpeech; const string LANG_CODE = "en-US";
void Start() { Setup(LANG_CODE); StartSpeaking(); } public void StartSpeaking() { string message = "Hello, welcome to Dark Run. Slide up to start the game," + "slide down to quit the game."; TextToSpeech.instance.StartSpeak(message); } void Setup(string code) { TextToSpeech.instance.Setting(code, 1, 1); }