Esempio n. 1
0
 public override void Dispose()
 {
     UnloadResource();
     LastUsedTime = 0.0f;
     OnBundleUnloadAction?.Invoke(this);
     OnBundleUnloadAction = null;
 }
 public override void Dispose()
 {
     UnloadAssetBundle();
     LastUsedTime = 0.0f;
     foreach (AssetBundleInfo depAssetBundleInfo in DepAssetBundleInfos)
     {
         depAssetBundleInfo.Release();
     }
     DepAssetBundleInfos.Clear();
     OnBundleUnloadAction?.Invoke(this);
     OnBundleUnloadAction = null;
 }