BaronCyrus/dsh-ugui-preset--plugins-dsh-ugui-tools ↗★ 0
dsh-local-ugui-tools
Preset-scoped multi-Canvas uGUI Workspace with a standalone-only browser designer, extended selectable, scrolling, masking and layout components, stable node IDs, safe gesture undo, image staging, and explicit Unity Prefab generation.
AI Analysis
核心用途是辅助 Unity 界面开发。适合需要让智能体生成 UI 并在浏览器中预览、最后直接导出为 Unity 预制体的游戏开发者。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗3. 配置目标 Unity 工程
cd ~/.dsh/.agent-presets/ugui cp setup/ugui.config.example.json ugui.config.json
使用
- 会话中描述界面需求 → agent 产出 DSL 并在浏览器设计器/预览器中呈现。
- 交互需求先说人话 → agent 写预览器逻辑并实时可玩。
- 点击面板上的「生成 Prefab」(或让 agent 调用
ugui_build)→ Unity 工程内得到可交互 prefab + 测试数据脚本。 - 移交项目:真实数据层调用视图脚本的
Bind…(IReadOnlyList)方法,删除*.TestData.cs。