I have a .txt on a website and a scrip that pulls the text from that .txt into unity like so.
IEnumerator Start() {
WWW www = new WWW(url);
yield return www;
if(www.error == null){
wow = www.text;
Debug.Log(wow);
}
PlayerPrefs.DeleteAll();
if(PlayerPrefs.HasKey("PartnerSex")){
int maleBool = PlayerPrefs.GetInt("PartnerSex");
if (maleBool == 1){
partnerIsMale = true;
}
else{
partnerIsMale = false;
}
Initilize();
}
else {
ActivateMenu (13);
}
}
It works just as intended in the editor, It pulls the text down and I can play with it.
When I build to IOS however. It does not pull the text down.
Any ideas?