PowerQuest 0.20.6
Loading...
Searching...
No Matches
ISpeechGui Interface Reference

Detailed Description

Speech Gui Interface - Advanced: Guis that want to override the default "Speech" gui can implement this interface. This needs to be done on a custom unity component, not just on a GuiScript.

Public Member Functions

void StartSay (Character character, string text, int currLineId, bool backgroundSpeech)
 Called when a character starts saying a line of dialogue- use this to set the text in the gui to show the dialogue line.
 
void EndSay (Character character)
 Called when a character finishes saying a line of dialogue. The gui should usually be hidden again.
 

Member Function Documentation

◆ StartSay()

void StartSay ( Character character,
string text,
int currLineId,
bool backgroundSpeech )

Called when a character starts saying a line of dialogue- use this to set the text in the gui to show the dialogue line.

◆ EndSay()

void EndSay ( Character character)

Called when a character finishes saying a line of dialogue. The gui should usually be hidden again.