Interface IPlayer
Provides a cross-platform interface to access information about a player playing your game.
Namespace: VoxelBusters.EssentialKit
Assembly: cs.temp.dll.dll
Syntax
public interface IPlayer
Properties
Alias
A string chosen by the player to identify themselves to others. (read-only)
Declaration
string Alias { get; }
Property Value
Type | Description |
---|---|
System.String |
DisplayName
A string to display for the player. (read-only)
Declaration
string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
Id
A string assigned by game service to uniquely identify a player. (read-only)
Declaration
string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
LoadImage(EventCallback<TextureData>)
Loads the player profile image.
Declaration
void LoadImage(EventCallback<TextureData> callback)
Parameters
Type | Name | Description |
---|---|---|
EventCallback<TextureData> | callback | Callback that will be called after operation is completed. |