docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class JoinCodeData

    JoinCodeData model

    Inheritance
    object
    JoinCodeData
    Namespace: Unity.Services.Relay.Models
    Assembly: solution.dll
    Syntax
    public class JoinCodeData

    Constructors

    JoinCodeData(string)

    Creates an instance of JoinCodeData.

    Declaration
    public JoinCodeData(string joinCode)
    Parameters
    Type Name Description
    string joinCode

    The connecting player can use the join code with the /join endpoint to join the same Relay server as the host player who created the join code. The join code is case-insensitive.

    Properties

    JoinCode

    The connecting player can use the join code with the /join endpoint to join the same Relay server as the host player who created the join code. The join code is case-insensitive.

    Declaration
    public string JoinCode { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 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)