Awesome
UniFlux - Flexible Event Driven and Flux for Unity
<span class="badge-npmversion"><a href="https://npmjs.org/package/com.xavierarpa.uniflux" title="View this project on NPM"><img src="https://img.shields.io/npm/v/com.xavierarpa.uniflux.svg" alt="NPM version" /></a></span>
⚠️ Please read Documentation
Installation
-
You can Download at Unity Asset Store
-
You can use the .unityPackage in releases
-
You can use the *.tzg in releases and add in PackageManager
-
You can add in PackageManager (How to install package from git URL)
https://github.com/xavierarpa/UniFlux.git
- You can install via openupm CLI
openupm add com.xavierarpa.uniflux
- You can install via npm
npm i com.xavierarpa.uniflux
Performance
Name | Iterations | GC | Time |
---|---|---|---|
UniFlux (Dispatch<string>) | 10.000 | 0B | 1ms |
UniFlux (ADD Store<string>) | 10.000 | 1.2MB | ~3ms |
UniFlux (REMOVE Store<string>) | 10.000 | 1.2MB | ~30ms |
Note: Storing (ADD and REMOVE) by design is planned to do it once so there's no problem in performance.