Hello,
Another question about reconnect:
From what i understand, the PhotonPlayer ID gets changed on player rejoin and you can do the reconnect in 2 ways:
- easy : ReconnectAndRejoin function
- harder: keep name of room and old player ID and connect to Photon on disconnect then connect to the same room passing the old player ID also.
Is there any way to keep the same player ID on reconnect?
So far I think I need to send a RPC after the reconnect to tell my old ID to the other players in the room but was curious if there is a way to know this is that user that disconnected without needing another RPC call.
Thanks.
Another question about reconnect:
From what i understand, the PhotonPlayer ID gets changed on player rejoin and you can do the reconnect in 2 ways:
- easy : ReconnectAndRejoin function
- harder: keep name of room and old player ID and connect to Photon on disconnect then connect to the same room passing the old player ID also.
Is there any way to keep the same player ID on reconnect?
So far I think I need to send a RPC after the reconnect to tell my old ID to the other players in the room but was curious if there is a way to know this is that user that disconnected without needing another RPC call.
Thanks.