K0lb3 / UnityPy

UnityPy is python module that makes it possible to extract/unpack and edit Unity assets
MIT License
810 stars 123 forks source link

How to modify Sprite? #121

Closed liang530 closed 2 years ago

liang530 commented 2 years ago

How to modify Sprite?

K0lb3 commented 2 years ago

The currently only "well" supported option to do that is by editing the Texture2D that is used by the sprites. To get the texture in question, you can replicate this section from SpriteHelper.

liang530 commented 2 years ago

Thank you. It has been solved