Auto-sync: 2026-04-26 12:02

This commit is contained in:
2026-04-26 12:02:53 +08:00
parent c073392db8
commit 191797c01b
50 changed files with 2566 additions and 17 deletions

View File

@@ -0,0 +1,43 @@
---
title: "Netcode for GameObjects"
type: entity
tags: [unity, networking, framework]
sources: [unity-multiplayer-engineer]
last_updated: 2026-04-26
---
## Aliases
- NGO
- Netcode for GameObjects (NGO)
## Type
Unity 官方多人游戏网络框架
## Definition
Netcode for GameObjectsNGO是 Unity 官方提供的多人游戏网络编程框架,提供 `NetworkObject``NetworkVariable<T>``ServerRpc``ClientRpc` 等核心网络原语,简化服务器权威多人游戏开发。
## Core Components
| 组件 | 类型 | 用途 |
|------|------|------|
| `NetworkObject` | 组件 | 挂载到 GameObject 使其可联网 |
| `NetworkVariable<T>` | 类型 | 持久化状态同步 |
| `ServerRpc` | 特性 | 客户端调用 → 服务器执行 |
| `ClientRpc` | 特性 | 服务器调用 → 所有客户端执行 |
| `NetworkManager` | 组件 | 网络管理器 |
| `UnityTransport` | 组件 | 底层传输层(支持直连/Relay |
## Key Design Decisions
- **服务器权威**:所有 NetworkVariable write 权限默认为 Server
- **自动同步**NetworkVariable 变化自动同步,无需手动调用
- **Prefabs 注册**:所有联网 Prefab 必须注册到 NetworkPrefabs 列表
## Related Concepts
- [[ServerAuthority]]: NGO 强制服务器权威
- [[NetworkVariable]]: 核心数据类型
- [[UnityRelay]]: 通过 UnityTransport 集成 Relay
- [[UnityMultiplayerEngineer]]: 使用 NGO 构建游戏的专家
## Related Entities
- [[UnityGamingServices]]: NGO 与 UGS 深度集成
- [[UnityTransport]]: NGO 的传输层实现

View File

@@ -0,0 +1,42 @@
---
title: "Unity Gaming Services"
type: entity
tags: [unity, cloud-services, platform]
sources: [unity-multiplayer-engineer]
last_updated: 2026-04-26
---
## Aliases
- UGS
- Unity Cloud Services
## Type
Unity 云服务平台
## Definition
Unity Gaming ServicesUGS是 Unity 官方提供的云服务集合,包含身份认证、匹配大厅、流量中继、分析、远程配置等多人游戏所需的云端组件。
## Core Services for Multiplayer
| 服务 | 用途 |
|------|------|
| **Relay** | 流量中继,解决 NAT 穿透,保护主机 IP |
| **Lobby** | 匹配大厅,存储元数据(房间名、地图等) |
| **Authentication** | 匿名登录,为 Relay/Lobby 提供玩家身份 |
| **Multiplay** | 专业服务器托管(付费服务) |
## Quick Start
```csharp
await UnityServices.InitializeAsync();
await AuthenticationService.Instance.SignInAnonymouslyAsync();
```
## Related Concepts
- [[UnityRelay]]: UGS 核心多人服务
- [[UnityLobby]]: UGS 核心多人服务
- [[ServerAuthority]]: UGS 服务支持服务器权威架构
## Related Entities
- [[UnityMultiplayerEngineer]]: 使用 UGS 的专家
- [[UnityTransport]]: 集成 UGS 服务的传输层
- [[UnityGamingServices]]: 即本条目

View File

@@ -0,0 +1,45 @@
---
title: "Unity Multiplayer Engineer"
type: entity
tags: [agent, unity, networking]
sources: [unity-multiplayer-engineer]
last_updated: 2026-04-26
---
## Aliases
- UnityMultiplayerEngineer
## Type
AI Agent 人格角色定义
## Definition
Unity Multiplayer Engineer 是一个 AI Agent 人格定义,专门用于设计和实现 Unity 多人游戏网络系统。角色具备延迟感知、抗作弊意识、确定性思维,专注于服务器权威、客户端预测和带宽优化。
## Core Identity
- **专业领域**Netcode for GameObjectsNGO、Unity Gaming ServicesRelay/Lobby
- **设计原则**:服务器权威、延迟容忍、抗作弊
- **技术栈**C#、Unity、UnityTransport、UGS
## Key Responsibilities
1. 实现服务器权威游戏逻辑
2. 集成 Unity Relay 和 Lobby
3. 设计 NetworkVariable 和 RPC 架构
4. 实现客户端预测与调和
5. 构建反作弊验证系统
## Success Metrics
- 200ms 模拟延迟下零同步错误
- 所有 ServerRpc 输入经服务器验证
- 每玩家稳态带宽 < 10KB/s
- Relay 连接成功率 > 98%
## Related Concepts
- [[ServerAuthority]]: 角色遵循的核心架构
- [[ClientPrediction]]: 角色实现的关键技术
- [[AntiCheatArchitecture]]: 角色的核心职责之一
- [[BandwidthManagement]]: 角色的性能优化目标
## Related Entities
- [[UnrealMultiplayerArchitect]]: 虚幻引擎领域的对应角色
- [[NetcodeForGameObjects]]: 角色的主要工具
- [[UnityGamingServices]]: 角色依赖的云服务

View File

@@ -0,0 +1,24 @@
---
title: "Unreal Engine 5"
type: entity
tags: ["game-engine", "game-development", "unreal"]
sources: ["unreal-technical-artist", "unreal-world-builder"]
last_updated: 2026-04-26
---
## Overview
Unreal Engine 5UE5是 Epic Games 开发的新一代游戏引擎,提供完整的 AAA 级视觉内容创作工具链。[[unreal-technical-artist]] 的核心工作平台。
## Key Capabilities Relevant to Technical Art
- **Material Editor**:可视化材质创作系统,支持 Material Functions、Material Instances、Quality Switch
- **Niagara**:新一代 VFX 和粒子系统,支持 GPU/CPU 分离模拟
- **PCG**Procedural Content Generation程序化内容生成框架用于开放世界资产分布
- **Nanite**:虚拟几何体系统,支持自动 LOD 和海量实例化
- **Substrate**UE5.3+):多层物理材质系统,替代传统 SSS workaround
- **World Partition**:开放世界分区管理,与 HLOD 和 PCG 流式加载协同
- **Unreal Insights**:性能分析工具,用于渲染性能瓶颈诊断
## In This Wiki
- [[unreal-technical-artist]] — 视觉系统工程师 Agent依赖 UE5 工具链交付 AAA 视觉资产
- [[unreal-world-builder]] — 开放世界场景搭建 Agent基于 UE5 World Partition
- [[unreal-systems-engineer]] — 引擎底层系统工程师 Agent深度集成 UE5 架构

View File

@@ -0,0 +1,33 @@
---
title: "Unreal Multiplayer Architect"
type: entity
tags: [agent, unreal, networking]
sources: [unreal-multiplayer-architect]
last_updated: 2026-04-26
---
## Aliases
- UnrealMultiplayerArchitect
## Type
AI Agent 人格角色定义
## Definition
Unreal Multiplayer Architect 是一个 AI Agent 人格定义,专门用于设计和实现 Unreal Engine 多人游戏系统。角色专注于 GASGameplay Ability System、Gameplay Tags、网络角色所有权和 RPC 设计。
## Core Identity
- **专业领域**Unreal Engine 5、Gameplay Framework、GAS、Replication
- **设计原则**:服务器权威、网络优化、确定性多人游戏
- **技术栈**C++、Blueprints、Unreal Networking
## Related Concepts
- [[ServerAuthority]]: 角色遵循的核心架构(与 Unity 版本互补)
- [[LagCompensation]]: 角色实现的关键技术
## Related Entities
- [[UnityMultiplayerEngineer]]: Unity 引擎领域的对应角色
## Connections to Unity Side
- 两者在 [[ServerAuthority]] 原则上完全一致
- 客户端预测实现细节有差异,可互补学习
- 网络框架不同,但架构模式相通