Setting up Unity Multiplayer
Integration using the HUD

Integrating the Multiplayer Service

There are three different methods you can use to start working with the Multiplayer Service in your project. These three methods give you a different level of control depending on your needs.

  • using NetworkManagerHUD. (simplest, requires no scripting)
  • using NetworkServer and NetworkClient. (high-level, simpler scripting)
  • using NetworkTransport directly. (low-Level, more complex scripting)

The first method, using NetworkManagerHUDA Networking component that creates a UI menu that allows you to control the network state of your game using your Network Manager. More info
See in Glossary
offers the highest level of abstraction, meaning that the Service does most of the work for you. This is therefore the simplest method to use, and most suitable for those new to creating multiplayer games. It provides a simple graphical interface which you can use to perform the basic multiplayer tasks of creating, listing, joining and starting games (referred to as ‘matches’).

The second method, using NetworkServer and NetworkClient, uses our Networking High-Level API to do these same tasks. This method is more flexible; you can use the examples provided to integrate the basic multiplayer tasks into your games own UI(User Interface) Allows a user to interact with your application. More info
See in Glossary
.

The third method, using NetworkTransport directly, gives you maximum control, but is only usually necessary if you have unusual requirements which are not met by using our Networking High-Level API.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答