- Home /
How to make a countdown timer progression bar?
Hi I want to make a countdown timer and also have a visual progression bar of it in game. Could you guide me to the right direction?
Thanks
Answer by Adam-Buckner · Jan 29, 2013 at 03:05 PM
I would def. search on this one. It has been answered a number of times. Try here for a google custom search engine for everything Unity: Looking for Answers? Use the Google Custom Search Engine!
In the barest minimum: You will need a variable to hold the total time to be counted down, a variable to hold the current time in the count down, a way to start the counter, and code that is executed when it's done. Lastly, you will need a way to take the current time in the count down and represent it graphically, but there are many different ways to accomplish this... As I said, I'd search for the answer and read thru the options and find one that suits you best.
Ironically, this is the #1 result now. https://www.google.hu/search?q=unity+progress+bar+countdown I guess nobody told the search engine to search elsewhere.
Edit: Also http://answers.unity3d.com/questions/topics/progress-bar.html
Your answer
Follow this Question
Related Questions
Timer progress bar 0 Answers
Creating a Circular Progressbar / Timer 6 Answers
Jaggedness on circular spinner 2 Answers
Timer will not reset properly. 1 Answer