How to make a pie health meter?

Hello, I was making an RPG, and when developing the battle system, I wanted to make the health meter resemble a circle that loses pieces clockwise as health goes down, not unlike health meters in Pikmin. Example at 29:54:

Is there any way this could be done feasibly?

Thanks in advance.

Nvm, I found out how with this link: https://www.infogamerhub.com/unity-health-bar-tutorial-using-fill-images/