Skills

Et Eui

ET EUI client UI workflow for this project's cn.etetet.eui framework.

Install

npx skills add FlameskyDexive/Legends-Of-Heroes --skill et-eui -g -a claude-code -y
Category
Design
Updated
1mo ago
License
MIT
Context cost
Lightabout 680 tokens
Runs scripts
No, instructions only

What it does

ET EUI client UI workflow for this project's cn.etetet.eui framework. Use when creating or modifying DlgXxx windows, ESxxx reusable sub-UI, ItemXxx loop items, AUIEvent handlers, WindowID registration, widget binding (E* via UIFindHelper), ShowWindow/Hide/Close flow, EUI root layers, or LoopScrollRect lists. Hand-authored 5-file pattern; there is NO code-gen menu here.

et-eui - ET EUI 入口

本项目 EUI 框架在 Packages/cn.etetet.eui,移植自原 Legends-Of-Heroes,但未移植代码生成工具(不存在 ET/EUICodeSpawn 菜单 / UICodeSpawner)。所有 EUI 代码都是按约定手写的,不要去找或调用生成菜单。

编辑器自动化通道(重要):EUI 一律不走 UnityBridge。优先级 = AIBridge($CLI = ./.aibridge/cli/AIBridgeCLI.exe)→ 不可用时降级 UnityMCP(unity-mcp-skill,mcpforunity://);PlayMode、读场景层级等 AIBridge 不提供的能力直接用 UnityMCP。步骤见 references/et-eui-runbook.md。

何时使用

  • 新建或修改窗口 DlgXxx、可复用子 UI ESXxx、循环项 ItemXxx。
  • 编写 DlgXxxEventHandler([AUIEvent(WindowID.WindowID_Xxx)])、注册控件事件、绑定 E* 控件。
  • 新增 WindowID 枚举项、接好窗口显示链路(ShowWindow / ShowWindowAsync / HideWindow / CloseWindow)。
  • 排查 UI 打不开、控件取到 null、uiTransform is null、循环列表不刷新、Root 层级不对。

不要加载

  • 只是写普通 ET 代码(Entity/System/Helper):用 et-code,必要时叠加 et-async。
  • 只是编译 / 跑测试 / 导配置:用 et-build / et-test-run / et-luban。
  • 只做与 EUI 无关的通用编辑器操作(编译/刷新/PlayMode/读控制台):按根 AGENTS.md「Unity 交互入口优先级」(AIBridge→UnityMcp→UnityBridge)执行,不必加载本 skill。

默认动作

Read the whole SKILL.md on GitHub

More in Design