Method WithRelayParameters
WithRelayParameters(ref NetworkSettings, ref RelayServerData, int)
Sets the RelayNetworkParameter values for the NetworkSettings
Declaration
public static ref NetworkSettings WithRelayParameters(this ref NetworkSettings settings, ref RelayServerData serverData, int relayConnectionTimeMS = 3000)
Parameters
Type | Name | Description |
---|---|---|
NetworkSettings | settings | NetworkSettings to modify. |
RelayServerData | serverData | |
int | relayConnectionTimeMS |
Returns
Type | Description |
---|---|
NetworkSettings | Modified NetworkSettings. |