public Say ( string text, bool clearPrevious, bool waitForInput, bool fadeWhenDone, bool stopVoiceover, AudioClip voiceOverClip, Action onComplete ) : void | ||
text | string | The text to display. |
clearPrevious | bool | Clear any previous text in the Say Dialog. |
waitForInput | bool | Wait for player input before continuing once text is written. |
fadeWhenDone | bool | Fade out the Say Dialog when writing and player input has finished. |
stopVoiceover | bool | Stop any existing voiceover audio before writing starts. |
voiceOverClip | AudioClip | Voice over audio clip to play. |
onComplete | Action | Callback to execute when writing and player input have finished. |
Résultat | void |