docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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
    INetworkParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)