一個原生 DeepSeek Harness 外掛,把 Unity 編輯器變成由智能體驅動的工作區:與編輯器對話、撰寫並掛載 C# 腳本、匯入你的資產商店資源、執行測試與建置——全部透過 Unity 官方 `unity` 命令列工具完成。
DSH 整合
原生執行環境
作者聲明
安全稽核
未稽核
最後核實
2026-09-06
授權條款
MIT
01它能幫你完成什麼?
Build a complete Unity game from a natural-language brief inside DeepSeek Harness
A running Unity Editor project — scenes, attached C# scripts, imported assets, tests, and player builds
Game developers and teams using DeepSeek Harness who want an agent to drive the Unity Editor
Edit a live Unity project by talking — add GameObjects, attach components, write gameplay C#
Edited scene graph and attached scripts, with recompile waits handled automatically by the agent
Developers iterating on a live Unity project through conversation instead of manual clicks
Use your owned Unity Asset Store purchases inside the open project
Searched, downloaded, and silently imported `.unitypackage` assets into the running project
Developers who own Asset Store assets and want the agent to import them on Windows or macOS
02如何將外掛接入 DeepSeek Harness?
先決條件
- DeepSeek Harness 0.1.2-alpha.5 or newer (older versions are not supported)
- The `unity` command-line tool, installed, signed in, and with an activated license
- Unity 6.0 or newer installed through the Unity Hub (live Editor control requires Unity 6)
- Python 3.9 or newer (only needed for the Asset Store feature)
安裝步驟
- 01
$ dsh plugin --profile <name> add @opdsh/unity-plugin
- 02
$ dsh --profile <name>
驗證整合成功
- Run `dsh --profile <name> --dump-config` and look for the `# == unity-plugin` section to confirm the plugin loaded
03DSH 整合程度與能力邊界
Native DSH plugin loaded by the dsh Loader (Node + browser halves); drives the Unity Editor over Unity's official `unity` CLI
Live Editor command (unity_command)
an Editor command name such as create_gameobject, get_scene_hierarchy, or save_scene→the live Editor command result as structured JSON
Every invocation passes `--non-interactive`, so a command that needs interactive input fails loudly instead of hanging the agentRun C# inside the Editor (unity_eval)
a C# snippet→C# executed with full UnityEngine and UnityEditor access inside the running Editor
Executes C# with full UnityEngine/UnityEditor access in the running EditorCLI passthrough (unity_cli)
any `unity` CLI subcommand (projects, open, pipeline install, templates, editors, test, build, auth, license, logs)→raw CLI output for long-running builds and tests
Spawns one CLI process per call; long builds and tests stream raw outputUnity official skills bundled
the bundled Unity-Technologies/skills collection→unity-cli, new-unity-project, build-live-game, UI, package management, physics, optimization, multiplayer skills
Downloads Unity's official skills once per ref into the dsh cache; a failed download falls back to an existing cache
04適合誰?何時不該用?
適合
- Game developers and teams using DeepSeek Harness who want an agent to drive the Unity Editor
- Developers iterating on a live Unity project through conversation instead of manual clicks
- Developers who own Asset Store assets and want the agent to import them on Windows or macOS
不適合
- The Asset Store import feature works on Windows and macOS only; Linux is not supported yet.
05相容性、維護與安全提醒
- The Editor command set is discovered at runtime; the plugin does not pin or validate per-command parameter schemas.
- The Asset Store import feature works on Windows and macOS only; Linux is not supported yet.
- `unity_cli` starts one CLI process per call by design; only the four live-Editor tools share the warm session.
- An open Editor holds a Unity license seat until it closes.
readme_verified
06常見問題
如何安裝 unity-plugin?
將它加入你使用的 DeepSeek Harness 設定檔:執行 `dsh plugin --profile <name> add @opdsh/unity-plugin`,再執行 `dsh --profile <name>`。用 `dsh --profile <name> --dump-config` 確認載入,尋找 `# == unity-plugin` 段落即可。
智能體在 Unity 編輯器裡能做什麼?
它能建立專案與場景、新增 GameObject 與元件、撰寫並掛載 C# 腳本、透過 `unity_eval` 執行 C#、匯入已擁有的資產商店資源、截圖、進入 Play 模式、執行測試並啟動玩家建置。
需要 Unity 授權(軟體授權)嗎?
需要。`unity` 命令列工具必須已安裝、登入並啟用授權——用 `unity auth status` 與 `unity license status` 檢查。即時編輯器控制需透過 Unity Hub 安裝 Unity 6.0 或更新版本。
智能體能用我資產商店已購的資源嗎?
可以,但僅相容 Windows 與 macOS。智能體會用你的 Unity 帳號登入,搜尋「我的資源」庫,下載 `.unitypackage` 並靜默匯入目前開啟的專案。Linux 目前不支援。
需要哪個版本的 DeepSeek Harness?
需要 DeepSeek Harness 0.1.2-alpha.5 或更新版本,舊版本不支援。此外掛由 dsh Loader 作為原生外掛載入(含 Node 與瀏覽器兩部分)。
07相關的 DSH 工作流程
dsh-routing-suite
作者 yjh051108
DeepSeek Harness(dsh)路由套件:先裝執行時注入器,再載入任務感知的推理模式路由預設(已實測 P1-P23)。
brooks-lint
作者 hyhmrright
基於 12 本經典工程書籍的 AI 程式碼評審工具,提供腐化風險診斷、書籍引用、嚴重度標籤及 6 種分析模式。
oh-dsh
作者 hust-open-atom-club
一套 DSH runtime,Desktop、Web 與 TUI 三種開發體驗。
perfect-web-clone
作者 ericshang98
網頁畫素級克隆工具:貼上 URL,即可得到一份精確測量還原的 Vite + React 復刻頁面。
08資料與來源
**Build Unity games with an AI agent.** This plugin connects [DeepSeek Harness]
dsh plugin --profile <name> add @opdsh/unity-plugin
此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-09-06。發現錯誤?提交更正。
最佳 DeepSeek Harness 外掛
從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。
