How to handle Client Timeout
Hello,
I working on a card game and I am wondering what should I do when the user put's the app in the background. Currently, after 15 seconds it will send a timeout message and no longer be connected to the room.
What should I do in this case?
Should use I OnDisconnectedFromPhoton() to reconnect?. Is there any examples online on how to handle this. I am not sure how to sync clients back after a timeout.
I working on a card game and I am wondering what should I do when the user put's the app in the background. Currently, after 15 seconds it will send a timeout message and no longer be connected to the room.
What should I do in this case?
Should use I OnDisconnectedFromPhoton() to reconnect?. Is there any examples online on how to handle this. I am not sure how to sync clients back after a timeout.
0