Graphics
Editor

Network Manager

(This class is part of the old networking system and is deprecated. See NetworkManager for the new networking system).

The Network Manager contains two very important properties for making Networked multiplayer games.

The Network Manager
The Network Manager

You can access the Network Manager by selecting Edit > Project Settings > Network from the menu bar.

Properties

Property: Function:
Debug Level The level of messages that are printed to the console
Sendrate Number of times per second that data is sent over the network

Details

Adjusting the Debug Level can be enormously helpful in fine-tuning or debugging your game’s networking behaviors. When it is set to 0, only errors from networking will be printed to the console.

The data that is sent at the Sendrate intervals (1 second / Sendrate = interval) will vary based on the Network View properties of each broadcasting object. If the Network View is using Unreliable, its data will be send at each interval. If the Network View is using Reliable Delta Compressed, Unity will check to see if the Object being watched has changed since the last interval. If it has changed, the data will be sent.

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