Ctrl Alt Del


I made a list of all players ingame. When one player disconnects, I remove him from the list, but not if he quits "badly".

Is there a way to detect that the players has quit using the close window cross or with "ctrl alt del" ?

Thanks for reading !


  • PUN will keep a list of players, too. It's updated when someone leaves or after a timeout in case of "closing window".
    Implement OnPhotonPlayerDisconnected(PhotonPlayer otherPlayer){ ... }

    The enum PhotonNetworkingMessage lists all available callbacks and provides a bit of description for each. You might find some of these useful, too.
  • Thanks allot ! It worked.