Struct RelayNetworkParameter
Relay protocol network parementers used to connect to the Unity Relay service. This data must be provided to the Create(NetworkSettings) function in order to be able to use connect to Relay.
Implements
Inherited Members
Namespace: Unity.Networking.Transport.Relay
Assembly: solution.dll
Syntax
public struct RelayNetworkParameter : INetworkParameter
Fields
Name | Description |
---|---|
RelayConnectionTimeMS | The timeout in milliseconds after which a ping message is sent to the Relay Server to keep the connection alive. |
ServerData | The data that is used to describe the connection to the Relay Server. |
Methods
Name | Description |
---|---|
Validate() | Validate the settings. |