示例#1
0
 public static bool ClearAllCachedVersions(string assetBundleName)
 {
     if (string.IsNullOrEmpty(assetBundleName))
     {
         throw new ArgumentException("Input AssetBundle name cannot be null or empty.");
     }
     return(Caching.ClearCachedVersions(assetBundleName, default(Hash128), false));
 }
示例#2
0
 public static bool ClearOtherCachedVersions(string assetBundleName, Hash128 hash)
 {
     if (string.IsNullOrEmpty(assetBundleName))
     {
         throw new ArgumentException("Input AssetBundle name cannot be null or empty.");
     }
     return(Caching.ClearCachedVersions(assetBundleName, hash, true));
 }