Example #1
0
 // Uses Text to Speech Manager to say whatever is in the current open information panel
 public void Say()
 {
     if (textToSpeechManager != null)
     {
         if (!textToSpeechManager.IsSpeaking())
         {
             textToSpeechManager.SpeakText(a.getSpeechText());
         }
         else
         {
             textToSpeechManager.StopSpeaking();
         }
     }
 }