docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IPlayerId

    Contract for objects providing information with the player identification (PlayerID) for currently signed in player.

    Namespace: Unity.Services.Authentication.Internal
    Assembly: Unity.Services.Core.Internal.dll
    Syntax
    [RequireImplementors]
    public interface IPlayerId : IServiceComponent

    Properties

    PlayerId

    The ID of the player.

    Declaration
    string PlayerId { get; }
    Property Value
    Type Description
    string

    Events

    PlayerIdChanged

    Event raised when the player id changed.

    Declaration
    event Action<string> PlayerIdChanged
    Event Type
    Type Description
    Action<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)