Greetings, and thanks to all who helped in previous questions!
I want to make text on screen that changes to display the remaining time in a game, or time until respawn. Also, I want to display the player’s current score. The game and interface are 2D. How do I do this?
(I tried GUIText objects, but they stayed in place when I moved my view. Not want I wanted.)
pheash
2
here are free video tutorials showing you how to create a counter or timer using graphical text:
http://www.walkerboystudio.com/html/unity_course_lab_3.html
if you simply want a bit of text displayed, use
function OnGUI(){
GUI.Label(Rect(0,0,50,50),"The Game Time is: "+Time.time);
}
here is a good starting point to read up on what unity gui provides:
Thanks. I’m still new at this.