public static void AcceptFromInbox()
        {
            NetworkSessionManager.Instance.Reset();
            GoogleMultiplayer listener = new GoogleMultiplayer(NetworkSessionManager.Instance);

            PlayGamesPlatform.Instance.RealTime.AcceptFromInbox(listener);

            NetworkSessionManager.Instance.MatchmakingStarted();
        }
        public static void AcceptInvitation(string invitationId)
        {
            NetworkSessionManager.Instance.Reset();
            GoogleMultiplayer listener = new GoogleMultiplayer(NetworkSessionManager.Instance);

            PlayGamesPlatform.Instance.RealTime.AcceptInvitation(invitationId, listener);

            NetworkSessionManager.Instance.MatchmakingStarted();
        }
        public static void InviteToGame()
        {
            NetworkSessionManager.Instance.Reset();
            GoogleMultiplayer listener = new GoogleMultiplayer(NetworkSessionManager.Instance);

            PlayGamesPlatform.Instance.RealTime.CreateWithInvitationScreen(MinOpponents, MaxOpponents, GameVariant, listener);

            NetworkSessionManager.Instance.MatchmakingStarted();
        }