Oxygen EventBus is a fast event and message dispatching system for Unity.
A side effect of the increasing complexity of modern games is, that more and more objects depend on each other.
With event dispatching those objects only need to know the dispatcher, which will then propagate events and messages to all interested receivers.
This approach yields therefore a loosely coupled system, which is much easier to maintain. Furthermore an event based system scales automatically, without increasing the complexity.
Documentation
Basic usage
Register an event handler:
GlobalBus.Register(MyHandler);
Send an event:
GlobalBus.Send(myEventData);
Features
+ Fully documented
+ Loosely coupled system
+ Type safe events
+ Handle (un)registrations immediately or delay them until end of frame
+ Create and send custom events/messages
+ Send events immediately or delay them until a certain number of frames or seconds has passed
+ High performance
+ One global event bus
+ Optionally create additional event buses