• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by youngapprentice · Nov 28, 2012 at 01:44 AM · guitimecircleelement

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

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Eric5h5 · Nov 28, 2012 at 02:44 AM

http://answers.unity3d.com/questions/14770/creating-a-circular-progressbar-timer.html

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image AlucardJay · Nov 28, 2012 at 06:26 AM 0
Share

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.

avatar image Eric5h5 · Nov 28, 2012 at 06:31 AM 1
Share

I am...everywhere....

avatar image Loius · Nov 28, 2012 at 07:10 AM 0
Share

Seriously. You gettin' kinda creepy. ... :)

avatar image youngapprentice · Nov 28, 2012 at 11:12 PM 1
Share

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

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

13 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Simple GUI Question 1 Answer

How To Make GUI Buttons Load/Quit 1 Answer

Floating GUI button to change correct material of character 3 Answers

Fill a circle by values with onGUI 0 Answers

Timer Pause 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges