https://github.com/ashblue/unity-event-plus
A simple wrapper utility to use interfaces with UnityEvent classes
https://github.com/ashblue/unity-event-plus
Last synced: 3 months ago
JSON representation
A simple wrapper utility to use interfaces with UnityEvent classes
- Host: GitHub
- URL: https://github.com/ashblue/unity-event-plus
- Owner: ashblue
- License: mit
- Created: 2019-08-21T16:55:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T08:24:42.000Z (about 3 years ago)
- Last Synced: 2025-08-27T15:27:17.830Z (5 months ago)
- Language: C#
- Size: 723 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Unity Event Plus
A simple interface wrapper around Unity's event system
## Installation
Unity Event Plus is used through [Unity's Package Manager](https://docs.unity3d.com/Manual/CustomPackages.html). In order to use it you'll need to add the following lines to your `Packages/manifest.json` file. After that you'll be able to visually control what specific version of Unity Event Plus you're using from the package manager window in Unity. This has to be done so your Unity editor can connect to NPM's package registry.
```json
{
"scopedRegistries": [
{
"name": "NPM",
"url": "https://registry.npmjs.org",
"scopes": [
"com.fluid"
]
}
],
"dependencies": {
"com.fluid.unity-event-plus": "1.0.0"
}
}
```
## Releases
Archives of specific versions and release notes are available on the [releases page](https://github.com/ashblue/unity-event-plus/releases).
## Nightly Builds
To access nightly builds of the `develop` branch that are package manager friendly, you'll need to manually edit your `Packages/manifest.json` as so.
```json
{
"dependencies": {
"com.fluid.unity-event-plus": "https://github.com/ashblue/unity-event-plus.git#nightly"
}
}
```
Note that to get a newer nightly build you must delete this line and any related lock data in the manifest, let Unity rebuild, then add it back. As Unity locks the commit hash for Git urls as packages.
## Development Environment
If you wish to run to run the development environment you'll need to install the latest [node.js](https://nodejs.org/en/). Then run the following from the root once.
`npm install`
If you wish to create a build run `npm run build` from the root and it will populate the `dist` folder.
### Making Commits
All commits should be made using [Commitizen](https://github.com/commitizen/cz-cli) (which is automatically installed when running `npm install`). Commits are automatically compiled to version numbers on release so this is very important. PRs that don't have Commitizen based commits will be rejected.
To make a commit type the following into a terminal from the root
```bash
npm run commit
```
---
This project was generated with [Oyster Package Generator](https://github.com/ashblue/oyster-package-generator).