- Home /
Draw a Sprite Round
Hi all,
How can I draw(or show) my sprite as rounded sprite? I wanted to have it like this:
This panel will download image from facebook and change its sprite to the downloaded fb image.
Answer by digzou · May 28, 2015 at 07:32 AM
You'll need a circular image the size of the rounded profile pic [light blue smaller circle inside the golden ring].
Then attach the 'Mask' component to it.
Now attach another image as the child of the above created masked image.
Attach your profile pic to this image object.
You might also want to read my answer regarding use of masks here :
http://answers.unity3d.com/questions/959396/unity-ui-image-mask-has-jaggies.html
Your answer
Follow this Question
Related Questions
Possible to use sprite mesh for UI.Image GraphicRaycaster culling? 1 Answer
UI fade with CanvasGroup vs of Image.color.alpha or Text.color.alpha performance 1 Answer
How to place Image in World Space canvas by mouseclick position? 2 Answers
How to change render order of Sprite (not Image) in uGUI 0 Answers