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 ); }
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 ); }