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)); }
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)); }