How to set max player for each room/lobby?
Options
So I just try using photon in unity. Is there away to set max player for each room/lobby?
I want to set the max player to 4.
My ccu is 20
0
Answers
-
Yes there is, when your create a room, you can add RoomOptions, and one option is to set the MaxPlayers for the room like so.
PhotonNetwork.CreateRoom(null, new RoomOptions { MaxPlayers = 3 });
0