Exemple #1
0
 public void PlayerLeft(int peerId)
 {
     _roomsPlugin.NotifyPlayerLeft(RoomId, peerId,
                                   () => { },
                                   reason =>
     {
         Logger.Error(reason);
     });
 }
Exemple #2
0
 public void PlayerLeft(int peerId)
 {
     _roomsPlugin.NotifyPlayerLeft(RoomId, peerId, (successful, error) =>
     {
         if (!successful)
         {
             Logger.Error(error);
         }
     });
 }