I builded my assetbundles but those are only textures.
How can those downloaded assetbundles be available to its specified gameobject?
Does it automatically LINK to its specified gameobjects?
I've tried my question but it seems it is not working or I just dont know how to do it.
IEnumerator DownloadAndCache (){
while (!Caching.ready)
yield return null;
using(WWW www = WWW.LoadFromCacheOrDownload (BundleURL, version))
{
yield return www;
if (www.error != null)
throw new Exception("WWW download had an error:" + www.error);
AssetBundle bundle = www.assetBundle;
}
}
↧