public override void MatchmakerViewControllerWasCancelled(GKMatchmakerViewController viewController)
            {
                // Close the VC.
                if (viewController != null)
                {
                    viewController.DismissViewController(true, null);
                }

                mClient.ResetCurrentMatchmakerVC();
            }
            public override void MatchmakerViewControllerDidFindMatch(GKMatchmakerViewController viewController, GKMatch match)
            {
                // Automatically close the VC.
                if (viewController != null)
                {
                    viewController.DismissViewController(true, null);
                }

                mClient.ResetCurrentMatchmakerVC();

                if (match == null)  // should never happen
                {
                    return;
                }

                // Set the newly created match as the current one.
                mClient.SetupCurrentMatchAndListener(match, mListener);

                // Report room setup completed.
                RuntimeHelper.RunOnMainThread(() =>
                {
                    ReportRoomSetupProgress(mListener, match, null);
                });
            }