public static void ListenRelay (string relayIp, int relayPort, Networking.Types.NetworkID netGuid, Networking.Types.SourceID sourceId, Networking.Types.NodeID nodeId);

Parámetros

relayIp Relay server IP Address.
relayPort Relay server port.
netGuid GUID of the network to create.
sourceId This server's sourceId.
nodeId The node to join the network with.

Descripción

Starts a server using a Relay server. This is the manual way of using the Relay server, as the regular NetworkServer.Connect() will automatically use the Relay server if a match exists.