|
hey everyone i have a question can anyone share a script with me or two i need a countdown scrpit of when the time is over it says game over and the game ends and another of count up timer to show how long you have bin playing for in seconds minutes,hours,milliseconds playing because i cant script for my life
(comments are locked)
|
|
here's a bit of code that might help: you can do a print on the "timespent" in the gui to see how long you've been alive for, or how long you have left, though im not sure on how you can make it show up as hours:minutes:seconds. This piece of code isnt exactly what you'd call optimal, but it might work :) again, there is probably some smarter way, but this one should work. though, if you want to use unity you should learn some scripting, as you cant rely on the community to make all your scripts for you.
(comments are locked)
|
