Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Photon Networking Messages : When a player is leaving the room

$
0
0
Hi there,

I've read a lot of topics, pdf and documentations but didn't find any function or clue about handling this specific case : when the player is currently leaving a room (not after he left ; OnLeftRoom(), not when other players notice that he disconnected ; OnPlayerDisconnected()).

Is it possible to define a custom photon event triggered by the user when he's currently leaving a room ? This event will be triggered before OnLeftRoom() and OnMasterSwitched() of course.

Thank you very much for your help.

Viewing all articles
Browse latest Browse all 15755

Latest Images

Trending Articles



Latest Images