Lobby.component
README.md
Lobby
The synced component that runs the lobby for one MatchFlow match (the entity named by its match field). It lists everyone playing the scene, lets them pick a team or be balanced onto the smaller one (refusing a bigger team politely), runs the ready check and holds the match with MatchFlow setHold until everyone is ready, moves each player to their team's PlayerSpawn points at every round start and back to the lobby spawn afterwards, tints bodies and name tags in team colours, puts late joiners into a spectator camera until the next round, counts each scoreKit award for the scorer's team, and draws the chosen lobby style, scoreboard and spectator HUD. One machine (the owner) is in charge; the lowest remaining peer takes over when it leaves. Needs MatchFlow in the world; scoreKit and menusKit are used when present. Spawned by lobbyKit.api.