- Home /
Getting custom sprite outline at runtime
Exactly like the title says, how can I access the custom sprite outline at runtime?
Specifically this:
So thinking about it, for a single shape, maybe I could get it from the sprite mesh vertices. But of course if the sprite has more than one shape, I don't how to tell which vertices belong to which shape. For my case this might work, because I think I could restrict it to one shape per sprite, but it would still be good to know if there's a better way.
So it seems like the mesh vertices won't work as they are in no specific order.
Surely it's possible to get this information?
Your answer
Follow this Question
Related Questions
Generated sprite not visible on iOS 0 Answers
Blurry Sprites 1 Answer
2D Graphics Quality 1 Answer
OnPostprocessTexture TextureImporter.spritePivot doesn't seem to work. 1 Answer
Linear Texture Masking 1 Answer