// 从资源服务器下载非Assetbundle资源,非AB(不计引用计数、不缓存),Creater使用后记得回收 public ResourceWebRequester DownloadAssetFileAsync(string filePath) { if (string.IsNullOrEmpty(DownloadUrl)) { Logger.LogError("You should set download url first!!!"); return(null); } var creater = ResourceWebRequester.Get(); var url = DownloadUrl + filePath; var saveUrl = AssetBundleUtility.GetPersistentFilePathWWW(filePath); creater.Init(filePath, url, new DownloadHandlerBuffer(), true); webRequesterQueue.Enqueue(creater); return(creater); }