mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
oops
This commit is contained in:
parent
fd197bf9bd
commit
065dc6cfff
@ -84,13 +84,6 @@ namespace NewHorizons.Utility.Files
|
|||||||
UnityEngine.Object.Destroy(texture);
|
UnityEngine.Object.Destroy(texture);
|
||||||
}
|
}
|
||||||
_textureCache.Clear();
|
_textureCache.Clear();
|
||||||
|
|
||||||
foreach (var texture in _textureCache.Values)
|
|
||||||
{
|
|
||||||
if (texture == null) continue;
|
|
||||||
UnityEngine.Object.Destroy(texture);
|
|
||||||
}
|
|
||||||
_textureCache.Clear();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Texture2D Invert(Texture2D texture)
|
public static Texture2D Invert(Texture2D texture)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user