Interface ISpeechCache
The speech cache is responsible for providing the correct audio clips to play for a specific text that's being said.
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface ISpeechCache
Methods
| Improve this Doc View SourceGetSpeechLineAsync(String, String)
Gets the audio clip to play and the text to write on screen for the specific said text.
Declaration
Task<ISpeechLine> GetSpeechLineAsync(string characterName, string text)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | characterName | The name of the character that speaks the text |
| System.String | text | The said text. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<ISpeechLine> | The audio. |