Hello, i’m making a multiplayer game with Mirror (it’s very similar to UNet) and i’m trying to implement a dialog box on various events (connecting, timeout, etc.). My question is - how can i check if there was a timeout or i was kicked by the host? Thank you for any replies!
Usually multiplayer engines provide callbacks for disconnect event, I use photon and it provides OnDisconnect callback whenever my client is disconnected from server, i have not used Mirror but I am certain they must also be providing some On Client disconnect or something like this callback. You need to check their documentation for same with on disconnect keyword.