- Home /
Circular Timer
Hi, all! In the HUD for my game, the current weapon is shown is a circle. Sometimes, elements of my game involve timing (time left for shield, etc.).
I would like to display this time as a red ring around the circle. I have an image of the ring rendered.
When timer is full, the circle is complete. When timer is at half, it is a semi circle. See what I mean? Is there a clever masking technique or something I can use to display a timer in a circular fashion?
Thanks! - YA
Answer by Eric5h5 · Nov 28, 2012 at 02:44 AM
The more I read here and in the forums and unify, the more I realize how long you have been giving us all fantastic help like this Eric. And the wealth of info, code and projects I keep unearthing by you is astounding. I'd have to say nearly 10% of all the unity searches I do have Eric5h5 somewhere on the page with some sage advice. Just to say $$anonymous$$any Thanks (it doesn't come often I am discovering when pumping out full code and projects for people). I have linked the above to several questions too, thanks again.
Thank you very much, Eric! I agree with alucardj. You have helped me personally on a large number of posts and have helped me indirectly by having an enormously helpful solution to nearly every problem I have. We all appreciate it very much! Thank you! - YA
Your answer
![](https://koobas.hobune.stream/wayback/20220613084617im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Simple GUI Question 1 Answer
How to fill circle in Eric5h5's TextureDrawCircle function 2 Answers
How to WaitforSeconds a GuiButton ? 0 Answers
How to create an agenda or timetable system? 1 Answer
Showing Time With GUI.Label 1 Answer