Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

9-spliced sprite not working as I need

$
0
0
I've started to set up UI in my game and suddenly hit a problem. Below is a full explanation.

For example i have this sprite:
View attachment 192607
And i need to made it bigger or smaller horizontally or\and vertically without stretching, just like this:
View attachment 192610
So, if 9-sliced grid is this:
View attachment 192611
then my slicing looks like this:
View attachment 192613
With such a slicing, i get what i need except 2 cases - when RectTransform height...

9-spliced sprite not working as I need

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>