MultiplayerManagerSimulatePacketLoss Property

Simulate packet loss by dropping random incoming packets. Only takes effect when the project's transport is set to TransportType.DefaultStatistics - the plain Default transport ignores this.

Definition

Namespace: Alteruna.Multiplayer.Unity
Assembly: Alteruna.Multiplayer.Unity (in Alteruna.Multiplayer.Unity.dll) Version: 2.1.3+c5328b35489e83c42e288435f5acf6115fd519e0
C#
public bool SimulatePacketLoss { get; set; }

Property Value

Boolean

Exceptions

TransportExceptionThrown on set if the current transport does not support network simulation.

See Also