Skip to content
Development
Command

/unity-network

Set up multiplayer networking — writes network scripts, configures NetworkManager via MCP. Supports Netcode, Mirror, Photon, Fish-Net.

From plugin
everything-claude-unity
2427 skills20 agents27 commands
Install
> /plugin marketplace add XeldarAlz/everything-claude-unity

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/unity-network

Context preview

What this command does when you run it.

Set up multiplayer networking — writes network scripts, configures NetworkManager via MCP. Supports Netcode, Mirror, Photon, Fish-Net.

Command definition

unity-network.md
name: unity-network
description: "Set up multiplayer networking — writes network scripts, configures NetworkManager via MCP. Supports Netcode, Mirror, Photon, Fish-Net."
user-invocable: true
args: framework_and_feature

/unity-network — Set Up Multiplayer

Implement networking based on: **$ARGUMENTS**

Workflow

Use the `unity-network-dev` agent to:

1. **Detect framework** — check `Packages/manifest.json` for Netcode/Mirror/Photon/Fish-Net 2. **Plan the feature** — identify what needs to sync (transform, state, RPCs) 3. **Write networking scripts:**

  • NetworkBehaviour components
  • NetworkVariable for synced state
  • ServerRpc/ClientRpc for actions
  • Ownership checks (`if (!IsOwner) return`)

4. **Set up scene** via MCP:

  • NetworkManager GameObject
  • Transport configuration
  • Player spawn points
  • Network prefab registration

5. **Verify** via `read_console`

Key Rules

  • Server is authoritative — never trust client
  • Minimize RPCs — use NetworkVariables for continuous state
  • Always check ownership before processing input
  • Register all network prefabs with NetworkManager
Ships witheverything-claude-unity

The ultimate Claude Code toolkit for Unity game development. A production-ready, plug-and-play system that gives Claude Code deep Unity expertise — from writing performant C# to building scenes, profiling performance, and triggering iOS/Android builds — all

Get the whole plugin

Other commands on everything-claude-unity.