You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 9, 2025. It is now read-only.
Daniel Everland edited this page Oct 23, 2018
·
2 revisions
Introduction
Event Listeners are components that listen to a specific Event and then provides a response in the form on a UnityEvent. Note that the type of event listener must match the event type, so if a bool event is expected, you must use an EventListener of type bool as well. Typed events listeners also supports forwarding the raise parameter as a dynamic response
Event listeners are also fully debuggable through a variety of features. Like the Event inspector, a fully featured stacktrace window is available. You can also simulate an incoming event through the inspector, and even select a debug value if the listener is typed.
When an event is raised, a gizmo is also drawn to visualize responses
Script Reference
The class has a singular function for responding to an event. It differs depending on if a type is expected or not