Class PlayerProfile
A player's profile data from the Social Profile service.
Inherited Members
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 |