NetworkClient.ConnectWithSimulator

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

Parameters

serverIpTarget IP address or hostname.
serverPortTarget port number.
latencySimulated latency in milliseconds.
packetLossSimulated packet loss percentage.

Description

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