AnyEvent 2 is a package designed to be easy to use and integrate into any Unity project. It provides a set of supplementary components for Unity UI that extend the default UI events. The package also allows for custom extensions and supports event callback, UI events, and data transformation. It's suitable for developers of all levels, including programmers, planners, and UI designers.
Features include:
- Any object can be a target or invoker
- Centralization, eliminating the need for delegate mechanisms
- Channel-based event invocation, with global and local options
- Event callback support
- UI events supported with no coding required
- Data transformation capabilities
- Binding feature for automatic event invocation and updates
- Zero learning cost and easy incorporation into existing projects
- Source code included
- Support for all platforms
Quick Start:
- Register an event: AnyEvent.Channel("Channel Name").AddTarget(gameObject, MyMethod);
- Invoke a to-target event: AnyEvent.Channel("Channel Name").Invoke(invokerGameObject, targetGameObject, obj);
- Invoke a global event: AnyEvent.Channel("Channel Name").Invoke(invokerGameObject, obj);
Requirements:
- Unity 2021.3.x
- Odin Inspector
AnyEvent 2: Simplified Event Dispatching for Unity - Asset Store





