If not then can i save it locally by any means ?
using UnityEngine;
using System.Collections;
using System.IO;
public class Test : MonoBehaviour {
public IEnumerator Start () {
WWW loader = new WWW("http://unity3d.com/sites/default/files/frontpage/learn.jpg");
yield return loader;
string path = string.Format("{0}/image.png", Application.persistentDataPath);
Debug.Log(path);
File.WriteAllBytes(path, loader.texture.EncodeToPNG());
}
}
You can only save strings in the player prefs. That means you have to convert the byte array to a string before you can save. As you load, you do the other way. Auntie google knows how to do both of them.
Take care because there is a size limit: