Skip to content

remove rect Y position inversion#9

Merged
firtoz merged 1 commit intofirtoz:masterfrom
slimer37:patch-1
Jan 10, 2026
Merged

remove rect Y position inversion#9
firtoz merged 1 commit intofirtoz:masterfrom
slimer37:patch-1

Conversation

@slimer37
Copy link
Copy Markdown
Contributor

I used this in Unity 6.3 to split the Kenney prompts (and it helped a ton with getting the names in, thanks!) and saw that the Y positions of the sprites were inverted.

It appears that Unity has begun using a bottom left origin for the sliced rects since this script was last updated.

@firtoz
Copy link
Copy Markdown
Owner

firtoz commented Jan 10, 2026

Cheers, I don't have the chance to test it but looks good to merge, if someone complains we can revert it

@firtoz firtoz merged commit 87d87f5 into firtoz:master Jan 10, 2026
@slimer37 slimer37 deleted the patch-1 branch March 15, 2026 08:04
@imniko
Copy link
Copy Markdown

imniko commented Apr 5, 2026

For me this removal of inversion changes does not work in Unity 6.4, I had to revert the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants