Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkManager.packetLossPercentage

Switch to Manual
public var packetLossPercentage: float;

Description

The percentage of incoming and outgoing packets to be dropped for clients.

This is only used when useSimulator is set.