- Home /
Question by
Master Joda · Feb 21, 2010 at 06:03 PM ·
guitimercounterhud
GUI Help, timer and counter
Hello everyone, I'm new with Unity and I have some problem. How to make timer that will start to count when I enter in game and display that on screen. And how to make counter that will count how many coins I collect and display it on screen.
Comment
Best Answer
Answer by Sebas · Feb 21, 2010 at 07:22 PM
The timer question has been answered here
As for the counter, you just use a similar text label like stated in the link, you just display an integer variable for the number of your collected coins. You might wanna convert that integer to a string first --> variable.ToString() (ToString example in forum thread)