![]()  | 
  
    Liberi
    
   An exergame built for kids with CP! 
   | 
 
Tracks all information for a player in a minigame. More...
Public Attributes | |
| int | PeerIndex | 
| The peer index of this player. 0 if the player is a bot.  More... | |
| PlayerProfile | PlayerProfile | 
| The profile of this player. Null if the player is a bot.  More... | |
| GameObject | Avatar | 
| The avatar of this player. Null if the player is not assigned to a team.  More... | |
| MinigameTeam | Team | 
| The team to which this player is assigned, if any.  More... | |
Properties | |
| bool | IsHuman [get] | 
| Whether or not this player is a human.  More... | |
| bool | IsBot [get] | 
| Whether or not this player is a bot.  More... | |
| bool | IsLocal [get] | 
| Whether or not this player is locally controlled.  More... | |
| bool | IsAssigned [get] | 
| Whether or not this player is assigned to a team.  More... | |
| int | SlotIndex [get] | 
| Gets the slot index of this player within its team. Returns -1 if the player is not assigned to any team.  More... | |
| Color | SlotColor [get] | 
| Gets the slot color of this player within its team. Returns white if the player is not assigned to any team.  More... | |
| string | PlayerID [get] | 
| Gets the ID of this player. Null if player is a bot.  More... | |
| string | PlayerNickname [get] | 
| Gets the nickname of this player. "BOT" if the player is a bot.  More... | |
Tracks all information for a player in a minigame.
Definition at line 12 of file MinigamePlayer.cs.
| GameObject MinigamePlayer.Avatar | 
The avatar of this player. Null if the player is not assigned to a team.
Definition at line 111 of file MinigamePlayer.cs.
| int MinigamePlayer.PeerIndex | 
The peer index of this player. 0 if the player is a bot.
Definition at line 103 of file MinigamePlayer.cs.
| PlayerProfile MinigamePlayer.PlayerProfile | 
The profile of this player. Null if the player is a bot.
Definition at line 107 of file MinigamePlayer.cs.
| MinigameTeam MinigamePlayer.Team | 
The team to which this player is assigned, if any.
Definition at line 115 of file MinigamePlayer.cs.
      
  | 
  get | 
Whether or not this player is assigned to a team.
Definition at line 42 of file MinigamePlayer.cs.
      
  | 
  get | 
Whether or not this player is a bot.
Definition at line 26 of file MinigamePlayer.cs.
      
  | 
  get | 
Whether or not this player is a human.
Definition at line 18 of file MinigamePlayer.cs.
      
  | 
  get | 
Whether or not this player is locally controlled.
Definition at line 34 of file MinigamePlayer.cs.
      
  | 
  get | 
Gets the ID of this player. Null if player is a bot.
Definition at line 78 of file MinigamePlayer.cs.
      
  | 
  get | 
Gets the nickname of this player. "BOT" if the player is a bot.
Definition at line 91 of file MinigamePlayer.cs.
      
  | 
  get | 
Gets the slot color of this player within its team. Returns white if the player is not assigned to any team.
Definition at line 64 of file MinigamePlayer.cs.
      
  | 
  get | 
Gets the slot index of this player within its team. Returns -1 if the player is not assigned to any team.
Definition at line 50 of file MinigamePlayer.cs.