callback_DisconnectFromServer()
After disconnecting from your server the callback function callback_DisconnectFromServer() is called. So under Scripts/Rocket Networking/Callback Functions , you can edit this to do whatever you want…
Example Implementation of callback
Here I’ve just done a show_message so the user is shown a dialog box with that message.
You can use this to show a Game Over message and redirect the player to a Main Menu
Last updated