Version: 2017.3

NetworkClient.ConnectWithSimulator

Switch to Manual
public void ConnectWithSimulator (string serverIp, int serverPort, int latency, float packetLoss);

Parameters

serverIp Target IP address or hostname.
serverPort Target port number.
latency Simulated latency in milliseconds.
packetLoss Simulated packet loss percentage.

Description

Connect client to a NetworkServer instance with simulated latency and packet loss.