This commit is contained in:
JohnCorby 2023-04-24 19:31:07 -07:00
parent fd197bf9bd
commit 065dc6cfff

View File

@ -84,13 +84,6 @@ namespace NewHorizons.Utility.Files
UnityEngine.Object.Destroy(texture);
}
_textureCache.Clear();
foreach (var texture in _textureCache.Values)
{
if (texture == null) continue;
UnityEngine.Object.Destroy(texture);
}
_textureCache.Clear();
}
public static Texture2D Invert(Texture2D texture)