How to destroy playerObject when this player is disconnected ?

Options
Hello
I'm new using PUN (last version)

I wrote a very simple NetworkController. My game is ok : player can connect and play together.
But when a player quit the game, his playerObject is still in scene.

Can someone tell me how to destroy it and where to put the code in my networkController ?

Thanks a lot.

Comments