This commit is contained in:
Sinai 2021-03-21 16:18:56 +11:00
commit 0c40b4fad9

View File

@ -55,7 +55,7 @@ namespace UnityExplorer.Core.Runtime
{
Color[] pixels;
if (IsReadable(orig))
if (!IsReadable(orig))
orig = ForceReadTexture(orig);
pixels = orig.GetPixels((int)rect.x, (int)rect.y, (int)rect.width, (int)rect.height);