A flexible Custom Event System for Unity that extends the functionality of UnityEvents.
Unlike UnityEvents, which are limited to a single parameter, this system allows you to invoke methods with multiple parameters of different types β directly from the Inspector.
- π― Works just like UnityEvents, but with no single-parameter limitation.
- π Inspector UI with ReorderableList for easy event management.
- π Assign Target Object β Component β Method from the editor.
- π Supports regular parameter types (bool, int, float, string) as well as Unity object types (AudioClip, MeshFilter, Material, etc).
- β‘ Lightweight, reflection-based method calling.
- π§βπ» Designer-friendly and requires no extra code to set up.
You can simply declare a public CustomEvent myEvents; field in your MonoBehaviour. ==> From there, you can trigger and invoke any function directly β with support for multiple parameters β using an easy, Unity-Event-like inspector UI.