BoardPlayer - Board Docs

Board

Board.Core

BoardPlayer Class

Represents a player on Board.

public class BoardPlayer

Inheritance System.Object 🡒 BoardPlayer

Derived

↳ BoardSaveGamePlayer

↳ BoardSessionPlayer

Properties
avatar Gets the player’s avatar UnityEngine.Texture2D.
avatarId Gets the player’s avatar identifier.
name Gets the player’s name.
playerId Gets the Player’s persistent app-specific identifier.
type Gets the player’s type.
Methods
GetDefaultAvatar() Gets the default avatar texture (avatar ID 0).
Events
avatarLoaded Occurs when the avatar UnityEngine.Texture2D is loaded.