unity-netcode
Agent skill fromBesty0728/Unity-Skills
Set up Netcode for GameObjects (NGO 2.x) multiplayer
How to install unity-netcode
install unity-netcode
# install the Unity-Skills pack with the skills CLI
npx skills add Besty0728/Unity-Skills# or add only this skill to Claude Code: copy the folder
SkillsForUnity/unity-skills~/skills/netcode/
# into
~/.claude/skills/netcode/ (all projects)
.claude/skills/netcode/ (one project)
1> **Before calling any skill in this module:** if you are about to call a skill with parameters guessed from its name or description, STOP — read this file (or fetch its schema via `GET /skills/recommend?includeSchema=true`) first. If you already have the parameter definitions from recommend/schema, you may proceed straight to dryRun.23## Triggers4- Scaffolding multiplayer5- Registering network prefabs6- Wiring spawn logic7- Starting host/server/client8- 搭建多人联机、注册网络预制体、连接生成逻辑、启动 host/server/client910# Unity Netcode for GameObjects Skills1112Automation for Netcode for GameObjects (NGO) multiplayer setup and operations. Every skill is source-verified against NGO 2.x; when the package is absent, each skill returns a `NoNetcode()` error with install instructions. A subset of skills additionally require NGO **2.5.0+** (see [NGO 2.5+ features](#ngo-25-features)) — on an older 2.x install they return a structured "requires 2.5.0+" error instead of a compile error, since AttachableBehaviour/AttachableNode/ComponentController are detected by reflection, not by a dedicated version symbol.1314> **Requires**: `com.unity.netcode.gameobjects` (2.x), Unity 6000.0+.15> **Strongly recommended**: before calling any `netcode_*` skill, load [netcode-design](../netcode-design/SKILL.md). NGO lifecycle and permission rules are strict; skills alone cannot prevent incorrect business code.1617## Guardrails1819**Operating Mode** (v1.9 three-tier):20…
Excerpt shown under the repository's MIT license.
