[RELEASED]Communicator

Hello guys (and girls)! I am pleased to present to you my asset:

This is a system that communicates game entities through Signal objects. Signals manage listeners and emitters, creating a communication without entities holding references from each other. This system attempts to create something between the Observer and Mediator patterns.

Mediator promotes loose coupling by keeping objects from referring to each other explicitly.

Observer uses a listener approach so when an event is fired, all subscribers react through callbacks.

Using signals, a controlled, decoupled communication system between game entities is created. They can communicate from anywhere in the game hierarchy, using multiple emitters and multiple listeners if needed.

Emission methods describe parameters. Delegates are checked on callback passing. For debugging, connections, emissions and receptions can be printed on console.

https://fc63088bec1449a8ec0af4e85a92b0a0499ad3d2.googledrive.com/host/0BwLxu4JZ_YzdUDVnUWZHRWtTRTg/WebBuild.html Web Demo

1 Like

Hello people! Version 1.1 is up!
Here are the improvements, free of charge =D :

  • Added namespaces to core and example classes.
  • Updated and improved instructions.
  • Updated Unity version for the asset project.
  • Updated screenshots.

I hope you like it and it becomes useful to you =)