![]() |
EasyTalk API
|
Defines methods for option display listeners, which listen for changes to option displays. More...
Inherits MonoBehaviour.
Public Member Functions | |
virtual void | OnOptionsSet (List< DialogueOption > options) |
Called whenever dialogue options are set on the option display. | |
virtual void | OnOptionSelected (DialogueOption selectedOption) |
Called whenever an option is selected in the option display. | |
virtual void | OnOptionChanged (DialogueOption oldOption, DialogueOption newOption) |
Called whenever the option selection is changed in the option display. | |
Protected Attributes | |
bool | debug = false |
When set to true, debug logging will be shown for each method called on the listener. | |
Defines methods for option display listeners, which listen for changes to option displays.
|
virtual |
Called whenever the option selection is changed in the option display.
oldOption | The previously selected option. |
newOption | The newly selected option. |
|
virtual |
Called whenever an option is selected in the option display.
selectedOption | The option which was selected. |
|
virtual |
Called whenever dialogue options are set on the option display.
options | A List of Dialogue Options which was set on the Option Display. |
|
protected |
When set to true, debug logging will be shown for each method called on the listener.