mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 01:48:07 +08:00
Update TextureUtilProvider.cs
This commit is contained in:
1 parent
9da2ea9b1b
commit
1807e7c5ff
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user