Struct RelayNetworkParameter
Parameters for the Unity Relay connection.
Implements
Inherited Members
Namespace: Unity.Networking.Transport.Relay
Assembly: solution.dll
Syntax
public struct RelayNetworkParameter : INetworkParameterFields
| Name | Description | 
|---|---|
| RelayConnectionTimeMS | Frequency at which the relay server will be pinged to maintain the connection alive. Should be set to less than 10 seconds (default is 3 seconds) since that's the time after which the relay server will sever the connection if there is no activity. | 
| ServerData | Connection information about the relay server. | 
Methods
| Name | Description | 
|---|---|
| Validate() | Checks if the values for all fields are valid. This method will be automatically called when adding parameters to the NetworkSettings. |