Struct UnityTransport.SimulatorParameters
Parameters for the Network Simulator
Inherited Members
Namespace: Unity.Netcode.Transports.UTP
Assembly: Unity.Netcode.Runtime.dll
Syntax
[Serializable]
public struct UnityTransport.SimulatorParameters
Fields
PacketDelayMS
Delay to add to every send and received packet (in milliseconds). Only applies in the editor and in development builds. The value is ignored in production builds.
Declaration
[Tooltip("Delay to add to every send and received packet (in milliseconds). Only applies in the editor and in development builds. The value is ignored in production builds.")]
[SerializeField]
public int PacketDelayMS
Field Value
Type | Description |
---|---|
int |
PacketDropRate
Percentage of sent and received packets to drop. Only applies in the editor and in the editor and in developments builds.
Declaration
[Tooltip("Percentage of sent and received packets to drop. Only applies in the editor and in the editor and in developments builds.")]
[SerializeField]
public int PacketDropRate
Field Value
Type | Description |
---|---|
int |
PacketJitterMS
Jitter (random variation) to add/substract to the packet delay (in milliseconds). Only applies in the editor and in development builds. The value is ignored in production builds.
Declaration
[Tooltip("Jitter (random variation) to add/substract to the packet delay (in milliseconds). Only applies in the editor and in development builds. The value is ignored in production builds.")]
[SerializeField]
public int PacketJitterMS
Field Value
Type | Description |
---|---|
int |