예제 #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);
     }
 }