AI Agent Hub
Back to skills
Unity Game Development Assistant icon

Unity Game Development Assistant

Development Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md and install @user_8f112dd1/unity-game-dev.

About this skill

Problem

Unity beginners usually get stuck not because they cannot write C# at all, but because the script, components, hierarchy, parameters, and tests are not connected: a PlayerController exists, but it is unclear why GroundCheck is needed; how Gravity Scale, Freeze Rotation, layers, and colliders should work together; which Inspector fields must be assigned; and why NullReferenceException appears only in Play mode.

How the skill works

This skill handles Unity tasks with a workflow: classify the request, output code, provide editor setup, then verify and debug. It first decides whether the user needs a full game, a new project, a single feature, a bug fix, or an explanation of a system. Then it returns runnable C# scripts, suggested save paths, step-by-step editor instructions, component attachment notes, recommended parameter values, and test checks. It covers 2D/3D movement, camera follow, collision, health systems, enemy AI, UI menus, inventories, save/load, audio, mobile touch input, and build/publish tasks, and includes 30+ code templates plus 2 complete game templates. For prompts like a 2D zombie shooter or a platformer with coin collection, it can match a preset template and output multiple scripts with a full setup checklist instead of a single script.

Scope and cautions

It is focused on Unity projects, recommends Unity 2022.3 LTS or Unity 6, and supports Built-in/URP plus both the old Input Manager and New Input System. It does not replace Godot, Unreal, Cocos, or other engines, and it is not a general C# syntax course outside Unity context. Generated code includes runtime safeguards such as component reference checks and coroutine timeout protection. If a template depends on plugins like Odin, DOTween, or Netcode, that dependency is noted in the usage instructions.

Use Cases

  • A beginner creates a Unity 2022.3 2D project and needs a movement script plus GroundCheck setup steps.
  • A developer adds enemy patrol, chase, and boss health to an existing Unity project with C# and Inspector settings.
  • A mobile project needs virtual joystick and touch jump, with Input System checks and script attachment notes.
  • A coin trigger is not working, requiring Collider2D, Tag/Layer, and reference checks.

Best For

  • A Unity beginner building a playable 2D movement and jump demo with scripts and editor steps.
  • An indie game developer adding enemy AI, inventory, and save systems with runnable code and debug checks.
  • A mobile Unity developer implementing touch input and build/export checks for PC/mobile targets.
  • A game course instructor demonstrating a full mini-game setup and common bug fixes with step-by-step checklists.