Interface UM_iPlayer
Game service player model.
Namespace: SA.CrossPlatform.GameServices
Assembly: cs.temp.dll.dll
Syntax
public interface UM_iPlayer
Properties
Alias
Player Alias. Typically, you never display the alias string directly in your user interface. Instead use the DisplayName property.
Declaration
string Alias { get; }
Property Value
Type | Description |
---|---|
System.String |
DisplayName
Player display name.
Declaration
string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
Id
Player identifier.
Declaration
string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GetAvatar(Action<Texture2D>)
Method will load user avatar asynchronously.
Declaration
void GetAvatar(Action<Texture2D> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<Texture2D> | callback | Callback with user avatar texture. |