API reference
API reference
Select your platform
No SDKs available
No versions available

TTSPreloadUtility Class

Public Statics

Static Member Functions

Create a new preload settings asset by prompting a save location
Create a new preload settings asset at specified location
Find all preload settings currently in the Assets directory
static bool IsIterating ( )
static bool CanPreloadData ( )
static void PreloadData
( TTSService service,
TTSPreloadData preloadData,
Action< float > onProgress,
Action< TTSPreloadData, string > onComplete )
static void RefreshPreloadData
( TTSService service,
TTSPreloadData preloadData,
Action< float > onProgress,
Action< TTSPreloadData, string > onComplete )
static void RefreshVoiceData
( TTSService service,
TTSDiskCacheSettings cacheSettings,
ref string log )
static void RefreshPhraseData
( TTSService service,
TTSDiskCacheSettings cacheSettings,
TTSVoiceSettings voiceSettings,
TTSPreloadPhraseData phraseData )
static void DeleteData
( TTSService service )
Prompt user for a json file to be imported into an existing TTSPreloadSettings asset
Imported json data into an existing TTSPreloadSettings asset
Find all ITTSPhraseProviders loaded in scenes & generate data file to import all phrases associated with the files.
Imported dictionary data into an existing TTSPreloadSettings asset

Member Functions

delegate IEnumerator TTSPreloadIterateDelegate
( TTSService service,
TTSDiskCacheSettings cacheSettings,
TTSVoiceSettings voiceSettings,
Action< float > onProgress,
Action< string > onComplete )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon