Okto | Event System

Quickly send and receive events. Make your code more modular, so you can add more features!

Okto Changelog

Table Of Contents

Version 1.4.0

Breaking

  • Moved asset from "Sylvan Studios" to "SylvanGlade" directory.

Added

  • Filters for Subscribers. Subscribers can now choose whether they want their callback to be invoked or not by providing a function.
  • Delayed event publishing for Publishers and Producers. By providing a Monobehaviour and a delay, events will be published after the time has elapsed.
  • Inspector event publisher and subscriber. Inspector publishers provide a public API which can be invoked from unity events to send an Okto EmptyEvent through a topic. Inspector subscribers can subscribe to any EmptyEvent topic, and invoke unity events.
  • New documentation website, with guidelines and common pitfalls.

Fixed

  • Producer.Produce docstrings which were outdated.
  • Cleanup unit tests.
  • Rename communication entity event types to better reflect their purpose and be self documenting.

Version 1.3.0

Breaking

Added

  • Queue communication entities. Queues delay event consumption until a call to Consumer.Consume.
  • The visualizer now shows topics as their own nodes to help organize the graphs.
  • Button to toggle the visualizer automatic layouter.

Fixed

  • Disallow manually disconnecting nodes in the visualizer.
  • Issue where the nodes would sometimes get stuck and not move with the automatic layouter.

Version 1.2.0

Breaking

Added

  • Visualizer now groups nodes by owner.
  • Double-clicking a node in the visualizer highlights the owning object in the hierarchy.
  • Visualizer now has a toggle button for the automatic layouter.
  • More tests to reach 100% test coverage.
  • Online documentation and changelog (WIP).

Fixed

  • Visualizer now works when opened during play mode.
  • Okto no longer depends on absolute paths, allowing the asset to be moved to different folders.
  • Fix issue where validator was throwing errors when building.

Version 1.1.2

Breaking

Added

  • Warning when exiting Play mode if there are communication entities that were not removed.

Fixed

  • All internal references to "messages" now refer to "events" instead.

Version 1.1.1

Breaking

Added

  • All publishing entities now return their generic variants.

Fixed

Version 1.1.0

Breaking

Added

  • New service entities. Make a request and receive a response.
  • Events types are now passed as a Generic instead of in the method parameters.

Fixed

  • Improvements to the documentation.

Version 1.0.0

Initial release of Okto.

Breaking

Added

  • Pub-sub communication entities.
  • Visualizer.

Fixed