Hi ^^
For Android application, wanted to apply downloadedFile.cs downloaded from Url instead of defaut script.
My script (DOESN’T WORK) :
public void NouvellesAnnonces (){
WWW ww = new WWW("http://myWebSite/Ajouter.cs");
StartCoroutine (NouvellesAnnoncesCor(ww));
}
IEnumerator NouvellesAnnoncesCor(WWW ww){
yield return ww;
#if UNITY_ANDROID //DOESN'T WORK
StreamWriter writer = new StreamWriter ("Assets/Scripts/AnnonceCherche.cs");
writer.WriteLine (ww.text);
writer.Close ();
#endif
}