TextToSpeechSubsystem.TrySpeak(String, AudioSource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
UnityEngine.SubsystemsImplementation.SubsystemWithProvider`3.TrySpeak(System.String,UnityEngine.AudioSource)
public virtual System.Threading.Tasks.Task<bool> TrySpeak(string phrase, UnityEngine.AudioSource audioSource);
abstract member TrySpeak : string * UnityEngine.AudioSource -> System.Threading.Tasks.Task<bool>
override this.TrySpeak : string * UnityEngine.AudioSource -> System.Threading.Tasks.Task<bool>
Public Overridable Function TrySpeak (phrase As String, audioSource As AudioSource) As Task(Of Boolean)
Parameters
- phrase
- String
- audioSource
- UnityEngine.AudioSource