docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ConnectedPlayer

    Represents information about a player who is connected to the current player.

    Inheritance
    object
    JsObject
    ConnectedPlayer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Meta.InstantGames.v8
    Assembly: Unity.Meta.InstantGames.Sdk.v8.dll
    Syntax
    public class ConnectedPlayer : JsObject

    Constructors

    ConnectedPlayer()

    Construct an instance of ConnectedPlayer

    Declaration
    public ConnectedPlayer()

    Methods

    GetID()

    Get the id of the connected player.

    Declaration
    public string GetID()
    Returns
    Type Description
    string

    The ID of the connected player.

    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)