Version: 2017.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.