返回目錄

unity-plugin

編輯精選維護狀態: 活躍

opdsh/unity-plugin

DeepSeek Harness 外掛:通過 unity CLI 控制 Unity 編輯器。

前往 GitHub
$ dsh plugin --profile <name> add @opdsh/unity-plugin

32

星數

0

Fork

TypeScript

語言

MIT

授權條款

2026-08-28

建立於

2026-09-04

最近推送

一個原生 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)

安裝步驟

  1. 01

    $ dsh plugin --profile <name> add @opdsh/unity-plugin

  2. 02

    $ dsh --profile <name>

驗證整合成功

  • Run `dsh --profile <name> --dump-config` and look for the `# == unity-plugin` section to confirm the plugin loaded

03DSH 整合程度與能力邊界

DSH 整合原生執行環境

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_scenethe 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 agent
  • Run C# inside the Editor (unity_eval)

    a C# snippetC# executed with full UnityEngine and UnityEditor access inside the running Editor

    Executes C# with full UnityEngine/UnityEditor access in the running Editor
  • CLI 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 output
  • Unity official skills bundled

    the bundled Unity-Technologies/skills collectionunity-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 與瀏覽器兩部分)。

08資料與來源

  • 作者聲明github.com78de95fbd6ba…

    **Build Unity games with an AI agent.** This plugin connects [DeepSeek Harness]

  • 作者聲明github.com78de95fbd6ba…

    dsh plugin --profile <name> add @opdsh/unity-plugin

此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-09-06。發現錯誤?提交更正。

🏆

最佳 DeepSeek Harness 外掛

從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。

DSH Plugins 是獨立的 DeepSeek Harness 外掛市集,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。