muharremtozan/unity-agent-skills

unity-event-bus

Advanced code-driven event bus with reflection-based bootstrapping. Provides zero-setup global messaging.

First seen Apr 19, 2026

Installation

$ npx skills add muharremtozan/unity-agent-skills --skill unity-event-bus

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from muharremtozan/unity-agent-skills · top by installs.

npx skills add muharremtozan/unity-agent-skills

Browse all from muharremtozan/unity-agent-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 13
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,227 B
  • docs SUMMARY.md 128 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 48 installs

SKILL.md

Unity Advanced Event Bus

This skill provides a high-performance, type-safe messaging hub for Unity projects. It is designed for developers who want to decouple systems without the overhead of ScriptableObject-based event channels.

Core Features

  1. Reflection Bootstrapping: Automatically finds all events and initializes buses on game load.
  2. Generic Performance: Uses static generic indices for O(1) event dispatch performance.
  3. Zero Allocation: Optimized for structs to ensure no runtime garbage collection for messages.
  4. Editor Safety: Auto-clears all static bindings when exiting Play Mode to prevent Editor memory leaks.

Core Files (Max 3)

  • EventBusCore.cs.txt: Base interfaces and the static generic bus hub.
  • EventBusBootstrapper.cs.txt: Unity-specific auto-initialization and assembly scanning.
  • EventBusExample.cs.txt: Practical implementation of player and system events.

Usage

Define a struct : IEvent, create an EventBinding<T>, and register it in OnEnable. Raise events from anywhere using EventBus<T>.Raise().