Problem player team id
Options
I currently have a character selection system per slot, everything works perfectly but the problem is when someone leaves the room and enters a new player, at the time of the selection if the player with slot 3 leaves the room and then another player enters it does not receive the id3 it receives the last number that entered the room, i set id with count in room
0
Best Answer
-
Hi @Valakinhas,
you can take a look at thePlayerRoomIndexing
component that is included in the PUN package. You can find it in the /Assets/Photon Unity Networking/UtilityScripts/ folder. It basically does what you want to have.5
Answers
-
Hi @Valakinhas,
you can take a look at thePlayerRoomIndexing
component that is included in the PUN package. You can find it in the /Assets/Photon Unity Networking/UtilityScripts/ folder. It basically does what you want to have.5