/// <summary> /// Adds the temporary verification code to the server. When the user enters the verificationCode /// on the Senseix website now, it will be able to link this game with the user's account. /// </summary> static public IEnumerator VerifyGame(string verificationCode) { Device.GameVerificationRequest newVerification = new Device.GameVerificationRequest(); newVerification.verification_token = verificationCode; newVerification.udid = (SenseixSession.GetDeviceID()); //Debug.Log ("going off to " + VERIFY_GAME_URL); //Debug.Log (hdr_request.GameVerification.Udid); //Debug.Log (hdr_request.GameVerification.VerificationToken); //Debug.Log (hdr_request.AccessToken); yield return(GetSingletonInstance().StartCoroutine( CoroutinePostRequest(newVerification, Response.ParseVerifyGameResponse, VERIFY_GAME_URL, false))); }
/// <summary> /// Adds the temporary verification code to the server. When the user enters the verificationCode /// on the Senseix website now, it will be able to link this game with the user's account. /// </summary> public static IEnumerator VerifyGame(string verificationCode) { Device.GameVerificationRequest newVerification = new Device.GameVerificationRequest(); newVerification.verification_token = verificationCode; newVerification.udid = (SenseixSession.GetDeviceID ()); //Debug.Log ("going off to " + VERIFY_GAME_URL); //Debug.Log (hdr_request.GameVerification.Udid); //Debug.Log (hdr_request.GameVerification.VerificationToken); //Debug.Log (hdr_request.AccessToken); yield return GetSingletonInstance().StartCoroutine( CoroutinePostRequest (newVerification, Response.ParseVerifyGameResponse, VERIFY_GAME_URL, false)); }