private IEnumerator AsyncLoadCoroutine(string name, System.Type type) { string assetBundleName = GlobalSetting.ConvertToAssetBundleName(name); string url = GlobalSetting.ConvertToFtpPath(assetBundleName); int verNum = GameApp.GetVersionNumber(); WWW www = WWW.LoadFromCacheOrDownload(url, verNum); _dicLoadingReq.Add(name, www); while (www.isDone == false) { yield return(null); } AssetBundleRequest req = www.assetBundle.LoadAssetAsync(GetAssetName(name)); while (req.isDone == false) { yield return(null); } _dicAsset.Add(name, req.asset); _dicLoadingReq.Remove(name); www.assetBundle.Unload(false); www = null; }