a guest Jun 15th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- private IEnumerator GetUsers(string url)
- using (UnityWebRequest webRequest = UnityWebRequest.Get(url))
- // Request and wait for the desired page.
- yield return webRequest.SendWebRequest();
- if (webRequest.isNetworkError)
- Debug.Log(": Error: " + webRequest.error);
- info.text = "DATOS RECIVIDOS:n" + webRequest.downloadHandler.text;
RAW Paste Data