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