public void UnusedAssetBundle(AssetBundleReference abr) { if (abr != null) { abr.UnCache(); } }
/// <summary> /// /// </summary> /// <param name="assetBundleName"></param> public void UnusedAssetBundle(string assetBundleName) { if (m_AssetBundles.ContainsKey(assetBundleName)) { AssetBundleReference abr = m_AssetBundles[assetBundleName]; abr.UnCache(); } }
void UnusedAllAssetBundles() { foreach (var iter in m_AssetBundles) { AssetBundleReference abr = iter.Value; abr.UnCache(); } }