- Home /
Modifying sprite assets via script?
Alright, I have a texture with 500 or so sprites inside it, all of them having their pivot set to center. I need to change their pivot to a custom point, but all the properties of the Sprite are read-only.
Destroying the old sprites and creating new ones with the correct pivot isn't an option since they're already in use and I don't want to lose reference to them.
I have no trouble locating and loading the sprite assets, I just don't know what to do with them. Any way to modify sprite asset properties via script or do I have to do it manually one by one in the sprite editor?
Your answer
Follow this Question
Related Questions
How do I add/draw a sprite? 1 Answer
Is there a way open the 'sprite editor' window at runtime? 0 Answers
Can't get my sprite animations to line up perfectly 2 Answers
2D sprite renders a small part of another one with "Sprite Mode : Multiple" 0 Answers
Editor - Sprites disappearing - Batching 0 Answers