Extension used for PunTeams and Player class. Wraps access to the player's custom property. More...
Static Public Member Functions | |
static PunTeams.Team | GetTeam (this Player player) |
Extension for Player class to wrap up access to the player's custom property. More... | |
static void | SetTeam (this Player player, PunTeams.Team team) |
Switch that player's team to the one you assign. More... | |
Extension used for PunTeams and Player class. Wraps access to the player's custom property.
|
static |
Extension for Player class to wrap up access to the player's custom property.
|
static |
Switch that player's team to the one you assign.
Internally checks if this player is in that team already or not. Only team switches are actually sent.
player | |
team |