- Home /
Question by
patrik-org · Jan 31, 2019 at 09:59 PM ·
uispriteui imageslice
Is there a way to see if a sprite is sliced in code?
I have Sprite objects that can be assigned to Image.sprite, I want to set Image.type to Sliced automatically if the sprite is sliced. Is there a way to check if a sprite object is sliced in code?
Comment
Your answer
Follow this Question
Related Questions
Sprite import problem? 1 Answer
Change UI GUI Image Sprite at runtime .. Unity 5 .. js 1 Answer
Weird UI.image with not sprite, chooses random sprite based on position. 2 Answers
How to match UI Image size with sprite size at runtime? 2 Answers
How to change UI image render order dynamically on runtime 1 Answer