This is the script I’ve been working on is meant to be showing the text in this dropbox link… but it’s showing HTML. I have no clue whats causing this so please help.
public class LOAD : MonoBehaviour {
public string url = "https://www.dropbox.com/s/y4bnrkils20qgk9/News.txt ";
public string News1;
void Start () {
StartCoroutine(LoadText());
}
// Update is called once per frame
IEnumerator LoadText()
{
WWW guiwww = new WWW(url);
yield return guiwww;
News1 = guiwww.text;
}
public void OnClickTest()
{
Debug.Log(News1);
}
}