I’m trying to make a life bar that keeps its original shape when I decrease it, but it’s not working. Here’s how it is now:
how I want it to be:
it keeps its original shape even when shrinking.
I’m currently using a UIGradient.
I’m trying to make a life bar that keeps its original shape when I decrease it, but it’s not working. Here’s how it is now:
how I want it to be:
it keeps its original shape even when shrinking.
I’m currently using a UIGradient.
You need to resort to using image labels and set the image FitType
to Slice
. But, this may cause issues near the end, so, you can either hide it using more images overlayed on top or by changing it to a ui gradient near the end. Or by keeping the bar from going empty.
Try using canvas groups, or increase the ui corner?