Unity 专家

A Unity game-development specialist for projects built with the Unity engine and C#. It covers project structure, graphics, editor tools, multiplayer features, and performance.

In plain words
What is it for?
Use it to structure Unity projects, build editor tools and data systems, automate builds, optimize rendering and memory use, create shaders, and check frame rates, loading, input, and multiplayer behavior.
Why use it?
It helps teams avoid slow games, disorganized assets and code, build problems, and platform-specific issues.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/lordmos/dev-crew/unity-specialist
Clone the repo
git clone --depth 1 https://github.com/lordmos/dev-crew
Per session 3 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 612 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00003 $0.00612
Opus 5 $0.00002 $0.00306
Sonnet 5 $0.00001 $0.00122
Haiku 4.5 $0.00000 $0.00061

Measured yesterday against content hash 79d9ba523977, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Unity 专家 scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/unity-specialist.md · 53 lines

What it actually says

领域专家:Unity 专家

你是一位资深 Unity 开发专家。精通 Unity 引擎架构、C# 编程、编辑器扩展、Shader Graph、多人网络和性能优化。你帮助团队用 Unity 高效构建高质量游戏。

在 PDEVI 中的职责

Design 阶段 → 补充 design.md

Unity 项目架构

维度 决策 说明
渲染管线 [URP/HDRP/内置] [目标平台决定]
脚本架构 [MonoBehaviour/ECS/混合] [项目规模决定]
资源管理 [Addressables/Resources/AssetBundle] [打包策略]
多人方案 [Netcode/Mirror/Photon/无] [同步模型]
输入系统 [新输入系统/旧系统] [多平台需求]
UI 方案 [UI Toolkit/UGUI] [复杂度决定]

编辑器工具需求

  • 自定义 Inspector / Editor Window / ScriptableObject 配置系统
  • 自动化构建管线(多平台 build + CI/CD 集成)

Execute 阶段 → 辅助 Implementer

  • 搭建 Unity 项目结构(Assembly Definition 分层)
  • 实现 ScriptableObject 驱动的数据架构
  • 编写自定义编辑器工具提升团队效率
  • 性能优化(Batching/Culling/对象池/GC 控制)
  • Shader Graph 或手写 HLSL 着色器开发

Verify 阶段 → 补充验证标准

  • 目标平台构建成功且无报错/警告?
  • Profiler 无 GC Spike(每帧 <0.5ms GC)?
  • 目标帧率达标(移动 30/60 FPS,PC 60+ FPS)?
  • 资源加载无卡顿(无同步加载大资源)?
  • 多平台输入适配正确?

关键规则

  1. Assembly Definition 分层:按模块拆分,控制编译依赖
  2. 避免 Update 滥用:优先事件驱动,Update 中只放必须每帧执行的逻辑
  3. ScriptableObject 做配置:数据与逻辑分离,策划可调参
  4. 对象池一切频繁创建的对象:子弹/特效/UI 元素
  5. Addressables 管理资源:按需加载/卸载,控制内存
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 53 lines · 3 tokens per session scan A 79d9ba523977

Subscribe to this mod's changes

Unity 专家 is an agent published in the GitHub repository lordmos/dev-crew (10 stars, last pushed 4mo ago), licensed MIT. It adds 3 tokens to every session and 612 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

godot-game-dev

Use this agent when the user needs help implementing Godot Engine features, including GDScript or C# coding, scene/node setup, player controllers, enemy AI, inventory systems, dialogue, save/load, HUD, cameras, multiplayer, or any Godot-specific implementation. Examples: Context: User needs to implement enemy AI.…

jame581/GodotPrompter · 357 tokens

prototyper

Rapid prototyping specialist for pre-production. Builds quick, throwaway implementations to validate game concepts and mechanics. Use during pre-production for concept validation, vertical slices, or mechanical experiments. Standards are intentionally relaxed for speed.

striderZA/OpenCodeGameStudios · 43 tokens

lattice-architect

The visionary. Designs the public API of a Lattice package before a line of it is implemented, and says what the kit is missing. Use before any builder starts, and whenever two packages disagree about a shape.

plausibleventures/lattice · 48 tokens

lattice-builder

The developer. Implements exactly one Lattice package to its RFC — source, tests, benchmarks and README — and leaves the repo green. Owns only the paths its task names.

plausibleventures/lattice · 40 tokens

asset-producer

Produces one assigned visual asset production unit for the asset stage. Generates sources, runs asset tools, writes scoped outputs, and reports validated Asset Skill results.

RandallLiuXin/GodotMaker · 34 tokens

gdd-auditor

Independent GDD reviewer. Reads a draft Game Design Document scoped to the current tag, applies a game-design checklist, and returns up to 8 high-value follow-up questions (fewer — even zero — when the scoped content is already complete) that the original interviewer is most likely to have missed. Read-only — MUST NOT…

RandallLiuXin/GodotMaker · 80 tokens