Version: 2019.4
Network Lobby Manager
Network Manager HUD

Network Lobby Player

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 and the FAQ.

The Network Lobby Player stores per-player state for the Network Lobby Manager while in the lobby. When using this component, you need to write a script which allows players to indicate they are ready to begin playing, which sets the readyToBegin property. See documentation on the Network Lobby Manager for full details on how to use this component.

A GameObject with a Network Lobby Player component must also have a Network Identity component. When you create a Network Lobby Player component on a GameObject, Unity also creates a Network Identity component on that GameObject if it does not already have one.

The Network Lobby Player component
The Network Lobby Player component
Свойство: Функция:
Show Lobby GUI Enable this to show the developer GUI for players in the lobby. This UI is only intended to be used for ease of development. This is enabled by default.
Network Channel The network channel used by the Network Lobby Player
Network Send Interval The rate at which information is sent from the Network Lobby Player to the server. See GetNetworkSendInterval()
Network Lobby Manager
Network Manager HUD
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961