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); } }