I made a lobby scene and i would like update the transform position when player disconnect
Options
Hello I have a problem
I made a lobby scene where players enter the room and spawn according to the order of connection so if there are 3 players at the moment you spawn at slot 3 but I would like that if for example the player 2 disconnects the player 3 becomes the player 2 and appears at slot
Clearly I don't know how to get the right player gameobject to change its position
3 player connected to the room
player 2 disconnect
and i would like update the transform position for player 3 become player 2
for now this my code
Thank you in advance for your
0