unity-event

Configure UnityEvent persistent listeners on Unity components in the editor.

1|Updated May 21, 2026
One-click install
npx skills add https://github.com/YiDuandtdt/Bone-Throne --skill unity-event-yiduandtdt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-event
Source: https://github.com/YiDuandtdt/Bone-Throne/tree/main/.agents/skills/unity-skills/skills/event
Command: npx skills add https://github.com/YiDuandtdt/Bone-Throne --skill unity-event-yiduandtdt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Wire and manage UnityEvent persistent listeners directly in the Unity editor, reducing manual wiring time and preventing misconfigurations in UI event wiring.

Core Features & Use Cases

  • Inspect and modify persistent listeners on UnityEvents (e.g. Button.onClick, Toggle.onValueChanged).
  • Add, remove, batch-add, copy, and set listener states across components to streamline UI wiring.
  • Use Case: quickly configure event wiring for complex UIs across many GameObjects during prototyping or refactoring.

Quick Start

Use the Unity Editor to inspect and wire listeners on a UnityEvent for a selected GameObject.

Frequently Asked Questions about unity-event

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I batch wire UnityEvent persistent listeners across multiple GameObjects?

Batch wire UnityEvent persistent listeners across multiple GameObjects using the event_add_listener_batch action. This automates UI event configuration for complex interfaces during prototyping or refactoring.

What is the best way to copy Button onClick listeners between Unity components?

The best way to copy Button onClick listeners between Unity components is using the event_copy_listeners action. It directly duplicates persistent listener configurations to streamline UI wiring.

Can I automate Unity UI event wiring without manual inspector setup?

Yes, you can automate Unity UI event wiring without manual inspector setup by applying editor-time actions like event_add_listener and event_set_listener_state to configure persistent listeners directly on GameObjects.

Does this Unity event listener configuration support both editor and runtime modes?

Yes, this Unity event listener configuration supports both editor and runtime modes. You can inspect, add, remove, and manage persistent listeners on UnityEvents like Toggle.onValueChanged in either context.

How do I list all UnityEvent listeners on a selected GameObject?

To list all UnityEvent listeners on a selected GameObject, use the event_list_events and event_get_listeners actions. These inspect all configured persistent listeners on the target component.

How to clear or disable misconfigured UnityEvent persistent listeners during UI refactoring?

Clear or disable misconfigured UnityEvent persistent listeners during UI refactoring using event_clear_listeners to remove them entirely, or event_set_listener_state to toggle their active state without deletion.