Just call it clear cache sure

This commit is contained in:
Nick 2023-08-25 22:30:51 -04:00
parent 330b1b1675
commit 601acecbb2
2 changed files with 2 additions and 2 deletions

View File

@ -262,7 +262,7 @@ namespace NewHorizons
SearchUtilities.ClearCache();
ImageUtilities.ClearCache();
AudioUtilities.ClearCache();
AssetBundleUtilities.OnSceneUnloaded();
AssetBundleUtilities.ClearCache();
EnumUtilities.ClearCache();
ProxyHandler.OnSceneUnloaded();
IsSystemReady = false;

View File

@ -12,7 +12,7 @@ namespace NewHorizons.Utility.Files
{
public static Dictionary<string, (string starSystem, AssetBundle bundle)> AssetBundles = new();
public static void OnSceneUnloaded()
public static void ClearCache()
{
var bundleKeys = AssetBundles.Keys.ToArray();