This version of Unity is unsupported.
Method group is Obsolete

NetworkClient.ConnectWithSimulator

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

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.