I'm using the following code to get the text from a web page:
private IEnumerator FetchText() {
WWW www = new WWW(URL);
yield return www;
if(www.error == null) {
myText.text = http://ift.tt/2i3nO6U;
}
When I run this in Unity, I get 185616 characters long string. But when I run this in android device, I get only 47133 characters. Is it because that web page behaves differently in Windows and Android? If yes, how can I fetch the same content from android as I'd be getting from desktop PC.
Thanks.
Aucun commentaire:
Enregistrer un commentaire