Class PlayerProfile
A player's profile data from the Social Profile service.
Inherited Members
Namespace: Unity.Services.Apis.Lobbies
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "PlayerProfile")]
[Preserve]
public class PlayerProfile
Constructors
PlayerProfile(string)
Initializes a new instance of the PlayerProfile class.
Declaration
[Preserve]
public PlayerProfile(string name = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | The player's name.. |
Properties
Name
The player's name.
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
[Preserve]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The player's name. |