Version: 2021.1
C# 作业系统提示和故障排除
多人游戏概述

Multiplayer and Networking

Important: UNet is a deprecated solution, and a new Multiplayer and Networking Solution (MLAPI) is under development. For more information and next steps see the information on the Unity MLAPI website.

Unity Multiplayer remains under development, and UNet is a deprecated solution that is not recommended relative to other solutions. If you want to include multiplayer elements in your application the following solutions are available:

GameObjects networking

The Unity open-source MLAPI solution is being developed to become the new Unity netcode foundation. It is customizable and adaptable for the needs of many multiplayer game types. For more information on this experimental package, see the MLAPI documentation.

You can also use a wide variety of third-party solutions. For more information, see the Unity blog post on Some of them are described in this Choosing the right netcode for your game.

ECS-based networking

For an ECS-based solution, see the DOTS Netcode package. Note: The Entities core system is experimental.

C# 作业系统提示和故障排除
多人游戏概述