docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PlayerProfile

    A player's profile data from the Social Profile service.

    Inheritance
    object
    PlayerProfile
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Lobbies.Models
    Assembly: Unity.Services.Multiplayer.dll
    Syntax
    [Preserve]
    [DataContract(Name = "PlayerProfile")]
    public class PlayerProfile

    Constructors

    PlayerProfile(string)

    A player's profile data from the Social Profile service.

    Declaration
    [Preserve]
    public PlayerProfile(string name = null)
    Parameters
    Type Name Description
    string name

    The player's name.

    Properties

    Name

    The player's name.

    Declaration
    [Preserve]
    [DataMember(Name = "name", EmitDefaultValue = false)]
    public string Name { get; }
    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)