Exemple #1
0
 public void AfterLoad(LoadedAssetBundle sab)
 {
     //AssetManageInfo info = AssetManageConfigManager.Instance.GetInfo(sab.bundleName);
     if (sab != null && sab.CanUnloadAfterLoad()) //&& info.manageBundleMode == AssetManageMode.UnLoadImmediately)
     {
         sab.UnLoadBundle(false);
     }
 }