/com.galalhassan.events-manager

A Unity events manager custom package, created as part of a talk given at GAME DEVELOPMENT Global Summit 21, titled "Custom Unity Packages for a 1 Week Hyper-Casual Development Cycle"

Primary LanguageC#MIT LicenseMIT

GitHub GitHub release (latest by date)

About

The events manager is a system to streamline messaging between different components in Unity.

Installation

Modify manifest.json

Add the following line under the dependencies section in the manifest.json file.

"com.galalhassan.events-manager": "ssh://git@github.com/galalmounir/com.galalhassan.events-manager.git?path=/package_source"

Package Manager

In Unity's Package Manager, click on + -> Add package from git URL.... Then put in the following:

ssh://git@github.com/galalmounir/com.galalhassan.events-manager.git?path=/package_source

Usage

Usage is described in the documentation folder.

Next Steps

  • Support for more payload types
  • Support for listening to events in-code

Contribution

I am continuously improving on the package. I will always merge working bug fixes. However, if you want to add something new to the packge, please create an "issue" on github for this first so we can discuss if it should end up in the package before you start implementing it.