Interfaces
IAudioService
Responsible for playing various sounds in the UI.
Methods
Play
Plays a sound.
Parameters
| Name | Type | Description |
|---|---|---|
| player | FPlayer | The player to play the sound for. |
| soundFileName | string | The name of the sound file to play. |
Speak
Reads out a text.
Parameters
| Name | Type | Description |
|---|---|---|
| player | FPlayer | The player to play the sound for. |
| text | string | The text to read out. |