I hope you're doing well. I've been facing a bit of a challenge with the DownloadFile method in my Unity project, and I was wondering if anyone can help me.
Here's a snippet of the code I'm working with:
Code: Select all
public IEnumerator LoadFile()
{
// Create a new ES3Cloud object with the URL to our ES3.php file.
var cloud = new ES3Cloud(url, apiKey);
//cloud.downloadProgress;
yield return StartCoroutine(cloud.DownloadFile(path, user, password));
if (cloud.isError)
Debug.LogError(cloud.error);
SaveManager saveMng = ScriptManager.GetScript_SaveManager();
saveMng.LoadBoutonClicked(path);
}
Thanks in advance for your help!