Which is the best way to create resizable sprite? I have a png
and I need it in different sizes also I need to keep the corners.
Can I create resizable shapes instead of using png?
Which is the best way to create resizable sprite? I have a png
and I need it in different sizes also I need to keep the corners.
Can I create resizable shapes instead of using png?
If you use it for a UI, you can use Unity’s UI Image, which supports 9 sliced Images by default (UI Image).
You could also slice it yourself and scale all the border parts yourself, writing a script that stretches the images between corners and center.
You can refer this blog for 9 slice image UnityRealm.com is for sale | HugeDomains