docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Player

    Player

    Inheritance
    object
    Player
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.PlayerNames
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class Player

    Constructors

    Player(string, string, bool)

    Initializes a new instance of the Player class.

    Declaration
    [Preserve]
    public Player(string id = null, string name = null, bool autoGenerated = false)
    Parameters
    Type Name Description
    string id

    id (required).

    string name

    name.

    bool autoGenerated

    autoGenerated.

    Properties

    AutoGenerated

    Gets or Sets AutoGenerated

    Declaration
    [Preserve]
    public bool AutoGenerated { get; set; }
    Property Value
    Type Description
    bool

    Id

    Gets or Sets Id

    Declaration
    [Preserve]
    public string Id { get; set; }
    Property Value
    Type Description
    string

    Name

    Gets or Sets Name

    Declaration
    [Preserve]
    public string Name { get; set; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2024 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)