Something that seems so simple, yet all the console shows is a bunch of question marks when I use this code. All I want to do is be able to read a small string and check if there is a new download available for the game. Then, I can tell the player “Hey there is a new version available. Want to download it?” Then I can direct them to a link or something.
var url = "http://www.mackenziemelby.com/download/i/mark_dl/u/4011917382/4618859823/sync_ExplosiveDrive.txt";//?dl=1
var www : WWW;
function Start(){
www= new WWW(url);
yield www;
Debug.Log (www.text);
}
function Update(){
if(www.progress<1)
print ("loading"+www.progress);
}