The DialogEventsProvider
class is responsible for declaring dialog events that will be available to be invoked. It can be attached to a GameObject to enable the developer to use a friendly UI when declaring events. Also it provides an API to declare programatic events.
Methods API
Method | Parameters | Returns | Description |
Invoke | string : event id | | Invokes all events that this provider has registered with this id. |
Static methods API
Method | Parameters | Returns | Description |
InvokeEvent | string : event id | | Invokes all events that all loaded providers have registered with this id. |
InvokeEvents | string[] : event ids | | Invokes all events that all loaded providers have registered with those ids. |
Static events
Event | Parameters | Description |
onDialogEventCalled | string : event id | Gets invoked when any event is invoked. It provides the eventId. |