/// <summary> /// 手动回收 /// </summary> public void Destory() { if (assetbundle != null) { assetbundle.Unload(true); assetbundle = null; } while (Count-- > 0) { for (int i = 0; i < Filelist.Count; i++) { AssetFile assetfile = Filelist[i]; assetfile.SubRefNum(); } } Filelist.Clear(); onDestory(this); }