Info about a response, which is a link from one dialogue entry to another. More...
Public Member Functions | |
Response (FormattedText formattedText, DialogueEntry destinationEntry, bool enabled=true) | |
Initializes a new Response. More... | |
Public Attributes | |
FormattedText | formattedText |
The formatted text of the response. More... | |
DialogueEntry | destinationEntry |
The dialogue entry that this response links to. More... | |
bool | enabled |
If true (the default value), the response is clickable. More... | |
Info about a response, which is a link from one dialogue entry to another.
Responses are created by the ConversationModel and passed by the ConversationView to a dialogue UI to be displayed in a response menu (for player responses) or spoken by an NPC (for NPC responses). When the player selects a response, IDialogueUI calls back with a SelectedResponseEventArgs record containing the selected response.
PixelCrushers.DialogueSystem.Response.Response | ( | FormattedText | formattedText, |
DialogueEntry | destinationEntry, | ||
bool | enabled = true |
||
) |
Initializes a new Response.
formattedText | Formatted text. |
destinationEntry | Destination entry. |
DialogueEntry PixelCrushers.DialogueSystem.Response.destinationEntry |
The dialogue entry that this response links to.
In other words, if this response is selected, the dialogue system will go to this dialogue entry.
bool PixelCrushers.DialogueSystem.Response.enabled |
If true
(the default value), the response is clickable.
FormattedText PixelCrushers.DialogueSystem.Response.formattedText |
The formatted text of the response.