Caching.CleanCache();
Debug.Log(url);
_download = WWW.LoadFromCacheOrDownload(url, 1);
yield return _download;
if (!string.IsNullOrEmpty(_download.error))
{
Debug.LogError(_download.error);
}
else
{
_bundle = _download.assetBundle;
Debug.Log("Bundle Loaded Successfully" + _bundle.name);
}
if (_bundle != null)
{
var texture
=_bundle
.LoadAsset(assetName,
typeof(Texture
)); AtlasREF.spriteMaterial.mainTexture = texture as Texture;
AtlasREF.MarkAsChanged();
}