#### [Board](https://docs.dev.board.fun/unity/api/index.html "index")

### [Board.Core](https://docs.dev.board.fun/unity/api/Board.Core.html "Board\.Core")

## BoardPlayer Class

Represents a player on Board.

```
public class BoardPlayer
```

Inheritance [System.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object "System\.Object") 🡒 BoardPlayer

Derived

↳ [BoardSaveGamePlayer](https://docs.dev.board.fun/unity/api/BoardSaveGamePlayer.html "Board\.Save\.BoardSaveGamePlayer")

↳ [BoardSessionPlayer](https://docs.dev.board.fun/unity/api/BoardSessionPlayer.html "Board\.Session\.BoardSessionPlayer")

| Properties |  |
| --- | --- |
| [avatar](https://docs.dev.board.fun/unity/api/BoardPlayer.avatar.html "Board\.Core\.BoardPlayer\.avatar") | Gets the player’s avatar [UnityEngine.Texture2D](https://learn.microsoft.com/en-us/dotnet/api/unityengine.texture2d "UnityEngine\.Texture2D"). |
| [avatarId](https://docs.dev.board.fun/unity/api/BoardPlayer.avatarId.html "Board\.Core\.BoardPlayer\.avatarId") | Gets the player’s avatar identifier. |
| [name](https://docs.dev.board.fun/unity/api/BoardPlayer.name.html "Board\.Core\.BoardPlayer\.name") | Gets the player’s name. |
| [playerId](https://docs.dev.board.fun/unity/api/BoardPlayer.playerId.html "Board\.Core\.BoardPlayer\.playerId") | Gets the Player’s persistent app-specific identifier. |
| [type](https://docs.dev.board.fun/unity/api/BoardPlayer.type.html "Board\.Core\.BoardPlayer\.type") | Gets the player’s [type](https://docs.dev.board.fun/unity/api/BoardPlayerType.html "Board\.Core\.BoardPlayerType"). |

| Methods |  |
| --- | --- |
| [GetDefaultAvatar()](https://docs.dev.board.fun/unity/api/BoardPlayer.GetDefaultAvatar().html "Board\.Core\.BoardPlayer\.GetDefaultAvatar\(") | Gets the default avatar texture (avatar ID 0). |

| Events |  |
| --- | --- |
| [avatarLoaded](https://docs.dev.board.fun/unity/api/BoardPlayer.avatarLoaded.html "Board\.Core\.BoardPlayer\.avatarLoaded") | Occurs when the avatar [UnityEngine.Texture2D](https://learn.microsoft.com/en-us/dotnet/api/unityengine.texture2d "UnityEngine\.Texture2D") is loaded. |
