BaseTTSRuntimeCache Class
A cache that holds onto audio files only while they are being played
TTSClipCallback OnClipAdded
Callback for clips being added to the runtime cache
TTSClipCallback OnClipRemoved
Callback for clips being removed from the runtime cache
ConcurrentDictionary< string, TTSClipData > _clips[Get]
Simple getter for all clips
Grabs clip from dictionary if possible
Add clip to dictionary and begins watching playback
virtual void RemoveClip ( string clipID )
Remove clip from cache immediately
virtual void OnDestroy ( )
Performs setup and callback when clip is added
virtual void BreakdownClip Performs breakdown and callback when clip is removed