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