Version: 2020.1
Debugging Information
Networking HLAPI System Concepts

The Multiplayer High Level API

Note: UNet is deprecated, and will be removed from Unity in the future. A new system is under development. For more information and next steps see this blog post.

Unity’s multiplayer High Level API (HLAPI) is a system for building multiplayer capabilities for Unity games. It is built on top of the lower level transport real-time communication layer, and handles many of the common tasks that are required for multiplayer games. While the transport layer supports any kind of network topology, the HLAPI is a server authoritative system; although it allows one of the participants to be a client and the server at the same time, so no dedicated server process is required. Working in conjunction with the internet services, this allows multiplayer games to be played over the internet with little work from developers.

The HLAPI is a new set of networkingThe Unity system that enables multiplayer gaming across a computer network. More info
See in Glossary
commands built into Unity, within a new namespace: UnityEngine.Networking. It is focused on ease of use and iterative development and provides services useful for multiplayer games, such as:

  • Message handlers
  • General purpose high performance serialization
  • Distributed object management
  • State synchronization
  • Network classes: Server, Client, Connection, etc

The HLAPI is built from a series of layers that add functionality:

This section of the manual explains how to use the multiplayer HLAPI.

Debugging Information
Networking HLAPI System Concepts
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961