IEnumerator DownloadAssetBundle()
{
yield return StartCoroutine(AssetBundleManager.downloadAssetBundle(url, version));
bundle = AssetBundleManager.getAssetBundle(url, version);
if (bundle != null)
AssetLoader.Instance.SetInfoText("Download Success.... ");
else
AssetLoader.Instance.SetInfoText("Download error please retry");
GameObject obj = Instantiate(bundle.LoadAsset("ExampleObject"),Vector3.zero,Quaternion.identity) as GameObject;
// Unload the AssetBundles compressed contents to conserve memory
//Debug.Log(obj);
bundle.Unload(false);
}