https://github.com/xprees/unity-events
Unity package custom events system package based on ScriptableObjects used for event chanelling. Inspired by Ryan Hipple Unity 2017 talk.
https://github.com/xprees/unity-events
scriptableobjects unity
Last synced: about 1 month ago
JSON representation
Unity package custom events system package based on ScriptableObjects used for event chanelling. Inspired by Ryan Hipple Unity 2017 talk.
- Host: GitHub
- URL: https://github.com/xprees/unity-events
- Owner: xprees
- License: apache-2.0
- Created: 2023-06-29T14:32:30.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-12-10T14:56:13.000Z (4 months ago)
- Last Synced: 2025-12-10T23:42:21.015Z (4 months ago)
- Topics: scriptableobjects, unity
- Language: C#
- Homepage: https://www.npmjs.com/package/cz.xprees.events
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Unity Event System based on ScriptableObjects
[](https://www.npmjs.com/package/cz.xprees.events)
This package provides a simple and powerful event system for Unity using ScriptableObject EventChannels. It allows you to create and receive events
across different parts of your game without tightly coupling components and even in multi-scene environment.
## Usage
To use in Unity clone with following git url to package
manager.
## Installation
Install the package using one of the following methods:
### Git URL
Install in the package manager using the following Git URL
```git
https://github.com/xprees/Unity-Events.git
```
### Scoped NPM Registry
Install the package using npm scoped registry in `Project Settings > Package Manager > Scoped Registries` (For more details
see [Unity Docs - Use a scoped registry in your project](https://docs.unity3d.com/6000.2/Documentation/Manual/upm-scoped-use.html))
`Packages/manifest.json`
```json
{
"scopedRegistries": [
{
"name": "NPM - xprees",
"url": "https://registry.npmjs.org",
"scopes": [
"cz.xprees",
"com.dbrizov.naughtyattributes"
]
}
]
}
```
Then simply install the package using the Unity Package Manager using the NPM - xprees scope or by the package name `cz.xprees.events`.
## Event Logging
The package will automatically enable event-logging capabilities when detects the Script Define Symbol `XPREES_EVENT_LOGGING` from
[`cz.xprees.event-logging`](https://www.npmjs.com/package/cz.xprees.event-logging) package.