protected virtual bool HandleRequest() { response = request.OnResponse(); Debug.LogWarning("Response from Web Request:\n" + response); return(!response.Contains("Error")); // not how this is supposed to be done // todo: make this handle the acc info that comes from the login verification request }
private void Awake() { init = new GameWebRequest(HttpMethod.Post, "app/init"); button.interactable = true; button.onClick.AddListener(() => { init.OnRequest(); Debug.LogWarningFormat("Response from AppEngine request '{0}':\n{1}", init.request, init.OnResponse()); }); }