docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TextToSpeechSetVoice

    TextToSpeechSetVoice(string)

    Sets the current voice used when playback of a message occurs. TextToSpeechAvailableVoices contains a list of all available voice names that can be passed into this method when logged in.

    Declaration
    void TextToSpeechSetVoice(string voiceName)
    Parameters
    Type Name Description
    string voiceName

    The name of the voice profile you want to use

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)