EventMinion

Salday

(7)
FREE
Publisher Salday
File size 153.94kB
Number of files 23
Latest version 1.0.7
Latest release date 2018-08-06 08:09:26
First release date 2017-01-04 10:45:23
Supported Unity versions 2018.4.2 or higher

Event Minion - system, which could dispatch published events to any registered handler accepting particular event argument. This means, that your event sources should no longer contain references to other components, only to event bus.

This system is intended to provide communication between game manager classes, not separate gameObjects.

This creates a clean separation, between event sources and handlers, and allows to build handler pipelines dynamically in runtime, rather than compile time. So in theory you can even load third-party libraries adopted for this Event Bus and insert their handlers into the pipeline. For example, this behavior can be used to implement plugin systems.

Event Minion features:
-Custom event arguments.
-Automatic event data mapping to handlers by type.
-Ability to decouple code.
-Prioritized handlers.
-Cancelable events.
-Event pipeline building in runtime.

Library source: GitHub

Top Publisher Assets