[Unity Client] - Best practice to start a match

I am using unity client with colyseus server.
My game room has maxClients: 2
For now, i check if players.Count == 1 in OnUpdateHandler and e.isFirstState to start a match
Is there any method to check begin match event? Or could i use some state handle to do this?
Thank so much for this awesome game server!

Welcome @takaaptech!

On Unity e.isFirstState is the most reliable way.

On Crash Racing I use a countdown on the state handler, and only start the game after the countdown is finished.


Thank so much @endel !