HandleEventLeave() private method

Called when the event Leave (of some other player) arrived. Cleans game objects, views locally. The master will also clean the
private HandleEventLeave ( int actorID, EventData, evLeave ) : void
actorID int ID of player who left.
evLeave EventData,
return void
Ejemplo n.º 1
0
 public static void RemovePlayer(PhotonPlayer player)
 {
     if (player != null)
     {
         networkingPeer.HandleEventLeave(player.ID);
     }
 }