game-unity-specialist

Provides expert Unity C# guidance covering MonoBehaviour, DOTS, URP, Addressables, and UI Toolkit.

Updated Aug 11, 2026
One-click install
npx skills add https://github.com/zerox-core/AI_Game --skill game-unity-specialist-zerox-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: game-unity-specialist
Source: https://github.com/zerox-core/AI_Game/tree/main/.continue/skills/game-unity-specialist
Command: npx skills add https://github.com/zerox-core/AI_Game --skill game-unity-specialist-zerox-core

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Unity projects often collapse under architectural debt, performance anti-patterns, and confusing pipeline choices. This Skill gives you a senior Unity engineer's guidance to write clean C#, choose the right systems (MonoBehaviour vs DOTS, URP vs HDRP, UGUI vs UI Toolkit), and avoid mistakes like runtime Find calls, Resources folder abuse, and unpooled object spawning. ## Core Features & Use Cases - Architecture Guidance: ScriptableObject event channels, runtime sets, assembly definitions, and dependency direction for maintainable Unity codebases. - Engine System Expertise: Concrete patterns for DOTS/ECS, Shader Graph, VFX Graph, Addressables, UI Toolkit, Netcode for GameObjects, Cinemachine, and the Animation system, each with compilable C# examples. - Performance & Pipeline Decisions: Honest trade-off analysis for URP vs HDRP, MonoBehaviour vs DOTS, plus profiling, pooling, batching, and Unity 6.x feature updates. - Use Case: Ask how to decouple your health system from your UI, and receive a complete ScriptableObject event channel implementation with listener components and usage examples. ## Quick Start Ask the Unity specialist how to set up a ScriptableObject-based event system so your game systems stop referencing each other directly.

Frequently Asked Questions about game-unity-specialist

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decouple Unity systems using ScriptableObjects?

Create a ScriptableObject event channel containing a UnityEvent, then add GameEventListener MonoBehaviours that subscribe to it. Systems raise events through the channel without direct references, which is the pattern used in shipped games like Hollow Knight.

Should I use DOTS or MonoBehaviour for my Unity game?

Use DOTS when you have thousands of similar entities, need deterministic simulation, or profiling proves CPU is the bottleneck. For fewer than a few hundred entities or rapid prototyping, MonoBehaviour is faster to write and debug.

URP vs HDRP: which render pipeline should I choose?

Default to URP for new projects since it targets mobile, Switch, VR, and mid-range PC and is Unity's actively developed pipeline. Choose HDRP only for high-end PC or console titles needing ray tracing and volumetrics, and decide before production starts.

Why is FindObjectOfType bad in Unity?

FindObjectOfType and GameObject.Find scan the entire scene at runtime, causing frame spikes and hidden coupling. Use serialized references, dependency injection, or ScriptableObject event channels instead, and cache GetComponent results in Awake.

How do I load assets dynamically without the Resources folder?

Use Addressables with AssetReference fields and InstantiateAsync for async loading, grouping assets with labels for preloading. Always release handles with Addressables.Release when done, since leaked handles are the most common Addressables memory bug.

When should I not use UI Toolkit in Unity?

Avoid rewriting working UGUI interfaces mid-project, and keep UGUI for world-space UI or heavy TextMeshPro dependencies. UI Toolkit is the right choice for editor extensions and runtime UI in new projects, especially with Unity 6 data binding.