Click or drag to resize

RelayTransportConnectWithSimulator Method

[This is preliminary documentation and is subject to change.]

Namespace:  MLAPI.Transports.UNET
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static int ConnectWithSimulator(
	int hostId,
	string serverAddress,
	int serverPort,
	int exceptionConnectionId,
	out byte error,
	ConnectionSimulatorConfig conf
)
Request Example View Source

Parameters

hostId
Type: SystemInt32
serverAddress
Type: SystemString
serverPort
Type: SystemInt32
exceptionConnectionId
Type: SystemInt32
error
Type: SystemByte
conf
Type: ConnectionSimulatorConfig

Return Value

Type: Int32
See Also