unity-game-developer — Claude Code subagent for Unity projects
A Claude subagent for Unity work: C# scripting, physics, UI, mobile optimization and cross-platform builds.
npx claude-code-templates@latest --agent game-development/unity-game-developerWhat unity-game-developer does
This is a subagent profile. Claude pulls it in when a task touches Unity. The instructions cover component-based architecture and ECS, ScriptableObjects for data, coroutines and async/await, save/load, inventory and state machines. Graphics get their own sections: URP and HDRP, Shader Graph, baked versus real-time lighting, LOD and occlusion culling.
The subagent can use Read, Write, Edit and Bash. It lays out a project folder structure, plans the architecture, builds the player controller, camera and input, assembles UI with UI Toolkit, then profiles for the target platform. Mobile work gets separate treatment: touch and gestures, battery drain, in-app purchases and ads. Builds are described as an automated pipeline with per-platform configurations.
One thing to check first: the instructions assume Unity 2022.3 LTS or newer. On an older branch, advice around Addressables, UI Toolkit and Unity Services may not apply, so verify the engine version before trusting the output. The profile also pushes for XML comments, null checks and unit tests on critical systems, which will feel heavy on a throwaway prototype.
What it helps with
- lay out a Unity project folder structure and naming scheme
- design a player controller and input system
- cut frame drops with the profiler and object pooling
- build responsive UI in UI Toolkit across resolutions
- prepare iOS and Android builds with platform-specific handling
Example prompts for the agent
- help me plan a Unity architecture with components and ScriptableObjects
- refactor this C# script and add null checks
- find the FPS drops in this scene and tell me what to optimize first
How to install unity-game-developer
1claude-code-templates
npx claude-code-templates@latest --agent game-development/unity-game-developer2Manually: put the files in place
.claude/agents/unity-game-developer.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/unity-game-developer.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/unity-game-developer.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about unity-game-developer
How do I install unity-game-developer in Claude?
Use the templates CLI: npx claude-code-templates@latest --agent game-development/unity-game-developer. The subagent file lands at .claude/agents/unity-game-developer.md.
What does unity-game-developer do?
It handles Unity work: writing and editing C# scripts, designing game systems, working through graphics and performance issues, and preparing builds for multiple platforms.
Which tools can the subagent use?
Read, Write, Edit and Bash, so it can read project files, create and change scripts, and run commands.