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

파라미터

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.

설명

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.