How to create a circleUI in unityC#

How to create a circleUI in unityC#
Hello everyone. I want to make a circle as HP,and I can using C# to control current HP.Like Attached Files JPG.
I have no ideal to make a incomplete circle.
thx for seeing my problem.

I voted for circle UI.

I also can’t see your problem because the URL for the image you linked to is broken or otherwise invalid.

Can you see Image now? I change the url

Unity actually made this really easy. If you look at fill mode for the Image component (bottom of the page), you’ll find everything you need.

  • Create a UI Image
  • Image Type: Filled
  • Method: Radial 360

Adjust Fill Amount to see filling. You can figure out the rest, I’m sure.

Thank you all. It work ! very useful.

1 Like