Exemple #1
0
 public void Say(string text, Action onTssEndedAction = null, ChatterBox.ECachingMode cachingMode = ChatterBox.ECachingMode.CacheInFileSystem)
 {
     ChatterBox.Instance.Prepare(
         new TTSText(text),
         this,
         startSayingAction => startSayingAction(onTssEndedAction),
         cachingMode
         );
 }
Exemple #2
0
 public void Prepare(string text, Action <Action <Action> > ttsStartAction, Action onTssEndedAction = null, ChatterBox.ECachingMode cachingMode = ChatterBox.ECachingMode.CacheInFileSystem)
 {
     ChatterBox.Instance.Prepare(
         new TTSText(text),
         this,
         ttsStartAction,
         cachingMode
         );
 }