Method Connect
Connect(NetworkDriver)
Connect to the Relay server.
Declaration
public static NetworkConnection Connect(this NetworkDriver driver)
Parameters
Type | Name | Description |
---|---|---|
NetworkDriver | driver |
Returns
Type | Description |
---|---|
NetworkConnection | The new NetworkConnection (or default if failed). |
Remarks
This method can only be used when using the Relay service.