Interface ITeamSelectorBehavior
public interface ITeamSelectorBehavior
Properties
Teams
Array of all available teams to be updated as team counts change.
TeamInfo[]? Teams { get; set; }
Property Value
- TeamInfo[]
Methods
CanJoinTeam(int, int)
If a player can join a team, optionally specifying the team they're currently on.
bool CanJoinTeam(int index, int currentTeam = -1)
Parameters
Returns
UpdateTeams()
Trigger a full update for all player counts.
void UpdateTeams()