Version: 5.3

NetworkTransport.ConnectWithSimulator

매뉴얼로 전환
public static int ConnectWithSimulator (int hostId, string address, int port, int exeptionConnectionId, out byte error, Networking.ConnectionSimulatorConfig conf);

파라미터

hostId Host id.
address Peer ip.
port Peer port.
exeptionConnectionId Special connection id or 0 for default.
error Returned error.
conf Simulation configuration definec latency for this connection.

반환

int ConnectionId on success (otherwise zero).

설명

Connect with simulated latency.

Will establish connection between peers and configure it to simulate internet latency (works on editor and development build only).