Defines methods for conversation display listeners, which listen for changes to conversation displays.
More...
Inherits MonoBehaviour.
Inherited by EasyTalk.Display.CharacterImageDisplay.
|
virtual void | OnCharacterNameUpdated (string characterName, string sourceName) |
| Called whenever the character name is updated on a converation display.
|
|
virtual void | OnConversationTextUpdated (string text) |
| Called whenever the text of a conversation display is updated.
|
|
virtual void | OnReset () |
| Called whenever the converation display is reset.
|
|
|
bool | debug = false |
| When set to true, debug logging will be shown for each method called on the listener.
|
|
Defines methods for conversation display listeners, which listen for changes to conversation displays.
◆ OnCharacterNameUpdated()
virtual void EasyTalk.Display.ConversationDisplayListener.OnCharacterNameUpdated |
( |
string | characterName, |
|
|
string | sourceName ) |
|
virtual |
Called whenever the character name is updated on a converation display.
- Parameters
-
characterName | The derived/translated name of the character. |
sourceName | The original/source name of the character. |
Reimplemented in EasyTalk.Display.CharacterImageDisplay.
◆ OnConversationTextUpdated()
virtual void EasyTalk.Display.ConversationDisplayListener.OnConversationTextUpdated |
( |
string | text | ) |
|
|
virtual |
Called whenever the text of a conversation display is updated.
- Parameters
-
text | The text which was set on the conversation display. |
◆ OnReset()
virtual void EasyTalk.Display.ConversationDisplayListener.OnReset |
( |
| ) |
|
|
virtual |
◆ debug
bool EasyTalk.Display.ConversationDisplayListener.debug = false |
|
protected |
When set to true, debug logging will be shown for each method called on the listener.