An open API service indexing awesome lists of open source software.

https://github.com/chark/scriptable-events

Simple and extensible event system for Unity Engine, implemented via scriptable objects
https://github.com/chark/scriptable-events

game-event gamedev scriptable-object scriptable-object-event unity unity-editor unity-package unity3d unity3d-plugin

Last synced: 4 months ago
JSON representation

Simple and extensible event system for Unity Engine, implemented via scriptable objects

Awesome Lists containing this project

README

          

# Scriptable Events

[![Unity 6000.0+](https://img.shields.io/badge/unity-6000.0%2B-blue.svg)](https://unity3d.com/get-unity/download)
[![openupm](https://img.shields.io/npm/v/com.chark.scriptable-events?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.chark.scriptable-events/)
[![Actions Status](https://github.com/chark/scriptable-events/workflows/CI/badge.svg)](https://github.com/chark/scriptable-events/actions)

Minimalistic and extensible event system implemented via `ScriptableObject`, inspired by [Unite2017](https://www.youtube.com/watch?v=raQ3iHhE_Kk).




## Features

- Designer friendly
- Default event and listener implementations for common use-cases
- Code generation tools which can be used to create custom event and inspector scripts
- Strongly typed
- Custom icons
- Odin Inspector support

## Installation

This package can be installed via [OpenUPM](https://openupm.com/packages/com.chark.scriptable-events/):
```text
openupm add com.chark.scriptable-events
```

Or via the Unity Package Manager by [Installing from a Git URL](https://docs.unity3d.com/Manual/upm-ui-giturl.html):
```text
https://github.com/chark/scriptable-events.git#upm
```

Alternatively, manually install by adding the following entry to `Packages/manifest.json`:
```json
{
"com.chark.scriptable-events": "https://github.com/chark/scriptable-events.git#upm"
}
```

If you'd like to install a specific release, replace `upm` suffix with version number, e.g., `v3.0.0`. You can find all releases [here](https://github.com/chark/scriptable-events/releases).

## Links

- [Documentation](../Packages/com.chark.scriptable-events/Documentation~/README.md)
- [Contributing](CONTRIBUTING.md)
- [Changelog](../Packages/com.chark.scriptable-events/CHANGELOG.md)