#how can I know all players are ready in room after Joining The GamePlay Scene?
4 messages · Page 1 of 1 (latest)
A few ways.
Have an isReady sync var on players scripts, or server.
Only when they are all true (or server decides its isReady sync var is true), can people move, or shoot etc
https://mirror-networking.gitbook.io/docs/community-guides/ready-up-and-die
Player sends Cmd inside its OnStartLocalPlayer to say isReady = true (or change isReady var directly if sync mode is client->server)
You could also just use a general playerStatus sync var
0 being default and not ready, 1 ready, 2 dead, 3 spectator etc etc