示例#1
0
 void OnCustomFoundMatch(GKMatch match, NSError error)
 {
     if (error != null) {
         Log("Error with matchmaker: " + error.LocalizedDescription());
     } else if (match != null) {
         // set the high-level match, and it will raise MatchMakerFoundMatch event
         RealTimeMatchesController.SetCurrentMatch(match);
     }
 }
示例#2
0
 void OnCustomFoundMatch(GKMatch match, NSError error)
 {
     if (error != null)
     {
         Log("Error with matchmaker: " + error.LocalizedDescription());
     }
     else if (match != null)
     {
         // set the high-level match, and it will raise MatchMakerFoundMatch event
         RealTimeMatchesController.SetCurrentMatch(match);
     }
 }