Skip to main content

DialogEventsProvider

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

MethodParametersReturnsDescription
Invokestring: event idInvokes all events that this provider has registered with this id.

Static methods API

MethodParametersReturnsDescription
InvokeEventstring: event idInvokes all events that all loaded providers have registered with this id.
InvokeEventsstring[]: event idsInvokes all events that all loaded providers have registered with those ids.

Static events

EventParametersDescription
onDialogEventCalledstring: event idGets invoked when any event is invoked. It provides the eventId.