docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ContextPlayer

    Represents information about a player who is in the context that the current player is playing in.

    Inheritance
    object
    JsObject
    ContextPlayer
    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 ContextPlayer : JsObject

    Constructors

    ContextPlayer()

    Construct an instance of ContextPlayer

    Declaration
    public ContextPlayer()

    Methods

    GetID()

    Get the id of the context player.

    Declaration
    public string GetID()
    Returns
    Type Description
    string

    The ID of the context 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)