/// <summary> /// Returns an audio source that speaks a specified phrase. /// </summary> /// <param name="phrase">The phrase to be spoken.</param> /// <returns>The audio source reference.</returns> public static AudioSource Speech(Phrase phrase) { return(new AudioSource(string.Format("say:{0}", phrase.Encode())) { GeneratesSpeech = true }); }