본문으로 건너뛰기
cccskills
무료GitHub에 공개

et-unitybridge

UnityBridge workflow for AI operations in Unity Editor. Use when checking UnityBridge connectivity, Unity compile or PlayMode state, running deferred UnityBridge commands, operating assets/scenes/GameObjects/Inspector/Prefabs/GameView/screenshots, running Editor tests, or troubleshooting UnityBridge responses.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes스타 931(GitHub 931 + cccskills 0)
연동 도구Unity

실행 점수 미검증

설치 방법 보기

포함된 파일(7)

  • SKILL.md2.8 KB
  • references.meta172 B
  • references/et-unitybridge-ai-ops.md5.0 KB
  • references/et-unitybridge-ai-ops.md.meta155 B
  • references/et-unitybridge-cli.md3.5 KB
  • references/et-unitybridge-cli.md.meta158 B
  • SKILL.md.meta158 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

et-unitybridge - UnityBridge / AI 操作 Unity 入口

何时使用

  • 查询 UnityBridge 宿主是否在线、Unity 是否正在编译、PlayMode 状态、CodeMode、Unity 版本。
  • 让 AI 操作 Unity Editor:资源、场景、选择集、GameObject、Transform、Inspector、Prefab、菜单、截图、GameView、Editor 测试。
  • 执行 Compile / Refresh / RegenProject / EnterPlay / ExitPlay / Reload 等会跨 Unity 状态变化的命令。
  • 排查 UnityBridge 返回的 Error / Message。

不要加载

  • 只是普通 C# 编译(用 et-build)
  • 只是读写 Excel 或导出 Luban
  • 只是纯代码结构分析,不需要 Unity 编辑器参与
  • 只是要解释命令协议,不实际操作 Unity 时,优先只读 proto 或 handler,不启动 UnityBridge。

默认动作

  1. CLI 入口为 dotnet ./Bin/ET.UnityBridge.dll。
  2. 操作前先发 Ping;只有需要命令列表或详细状态时再查 HostState。
  3. Compile、Refresh、RegenProject、EnterPlay、ExitPlay、AssetImportRequest、AssetRefreshRequest 等 deferred 命令必须等待最终响应。
  4. Reload 要求 Unity 已进入 PlayMode;EnterPlay 前确认 Unity 未编译且未切换 PlayMode。
  5. 如果 Bin/ET.UnityBridge.dll 尚不存在,先用 et-build 编译确认工具是否生成。
  6. 如果桥接宿主不可用,先检查 Unity 是否已打开项目、心跳文件是否存在、桥接根目录是否一致。

省 Token 规则

  • 不要完整读取所有 UnityBridge proto、handler 或 AvailableCommands。
  • 先用 HostState 或 rg 发现命令名,再只打开相关 proto 小片段和对应 handler。
  • 先执行最小读命令确认目标,再做写操作;批量操作前先验证 1 个样本。
  • 不要把完整 JSON 响应贴给用户;只总结 Error、Message 和关键字段。
  • 优先 UnityBridge 命令,不要用 GUI 点击 Unity Editor,除非命令缺失或用户明确要求。

最小流程

dotnet ./Bin/ET.UnityBridge.dll '{"_t":"Ping"}'

如果需要命令列表或状态:

dotnet ./Bin/ET.UnityBridge.dll '{"_t":"HostState"}'

按任务选择一个最小命令执行;失败时先看 Error / Message,再读相关 handler。

按需补读

  • references/et-unitybridge-ai-ops.md:AI 操作 Unity 的任务路由、命令发现、省 token 操作模式。
  • references/et-unitybridge-cli.md:CLI 参数、等待、返回值解读、常见错误。

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

aibridge

무료

Unity Editor and Player Runtime CLI integration for AIBridge. Use when Codex needs to compile Unity, inspect Console logs, search/read assets, manipulate GameObjects, Transforms, components, SerializedProperty values, scenes, screenshots/GIFs, connect to built Player runtime targets, simulate Play Mode runtime input, editor focus/menu items/game view, or look up AIBridgeCLI command syntax. For batch/multi scripts use aibridge-batch-script. For complex prefab asset edits use aibridge-prefab-patch. For unsupported direct Unity YAML serialized asset edits use unity-yaml-editing.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes9312026년 9월 22일 업데이트

AIBridge batch and multi command automation. Use when Codex needs to run multiple Unity Editor CLI operations together, write batch scripts, use multi --cmd or multi --stdin, handle call/delay/log/menu lines, avoid PowerShell quoting issues, or automate long/JSON-heavy AIBridgeCLI workflows.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes9312026년 9월 22일 업데이트

Optional read-only AIBridge Code Index semantic lookup for Unity projects. Use only when this Skill is installed and project rules or AIBridge settings say Code Index is enabled. Use for CLI-only symbol, definition, reference, implementation, derived-type, caller, and diagnostic queries. Do not use when Code Index is disabled; use rg, host file reads, and regular AIBridge commands instead.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes9312026년 9월 22일 업데이트

AIBridge/Unity 项目的标准开发工作流。Use when creating, modifying, fixing, refactoring, or validating C# code, Unity assets, prefabs, editor tools, package structure, tests, AGENTS.md, or local Skills. Preserves visible modes for Skills matching, requirement confirmation, analysis, implementation, and final checklist. Do not use for pure Q&A, simple search/display, or code explanation tasks with no file/code/asset changes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes9312026년 9월 22일 업데이트

Unity Prefab asset patch workflow for AIBridge. Use when modifying complex prefab assets with prefab patch operations, child or component creation, SerializedProperty writes, array edits, internal GameObject/component references, dry-run validation, or when deciding between prefab patch, inspector set_property, scene object commands, and direct Unity YAML fallback.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes9312026년 9월 22일 업데이트

et-async

무료

ET async and EntityRef safety workflow. Use when adding, modifying, or reviewing async/await, ETTask, generic ETTask results, ETCancellationToken, NewContext, concurrent waits, handler Run async safety, or any Entity access after await in WOW/ET code or tests.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

FlameskyDexive/Legends-Of-Heroes9312026년 9월 22일 업데이트

FlameskyDexive의 스킬 모두 보기

이 스킬의 문제 신고