A Unity C# wrapper for the Google Cloud Text-To-Speech API.
Requires Unity 6.0 because of the plugin's usage of Awaitable. Built and tested in Unity 6.0.
- Open project settings
- Select
Package Manager - Add the OpenUPM package registry:
- Name:
OpenUPM - URL:
https://package.openupm.com - Scope(s)
com.uralstech
- Name:
- Open the Unity Package Manager window (
Window->Package Manager) - Change the registry from
UnitytoMy Registries - Add the
UCloud.TextToSpeechpackage
- Open the Unity Package Manager window (
Window->Package Manager) - Select the
+icon andAdd package from git URL... - Paste the UPM branch URL and press enter:
https://github.com/Uralstech/UCloud.TextToSpeech.git#upm
- Check the instructions for
UCloud.OperationsandUtils.Singletonto install the dependencies
- Clone or download the repository from the desired branch (master, preview/unstable)
- Drag the package folder
UCloud.TextToSpeech/UCloud.TextToSpeech/Packages/com.uralstech.ucloud.texttospeechinto your Unity project'sPackagesfolder - Check the instructions for
UCloud.OperationsandUtils.Singletonto install the dependencies
Do not use preview versions (i.e. versions that end with "-preview") for production use as they are unstable and untested.
-
operationsendpoint*-
cancelmethod* -
deletemethod*
-
-
projects.locationsendpoint-
synthesizeLongAudiomethod -
projects.locations.operationsendpoint*-
getmethod* -
listmethod*
-
-
-
textendpoint-
synthesizemethod
-
-
voicesendpoint-
listmethod
-
*Through package dependency UCloud.Operations.
See https://uralstech.github.io/UCloud.TextToSpeech/DocSource/QuickStart.html or APIReferenceManual.pdf and Documentation.pdf in the package documentation for the reference manual and tutorial.