Advertisement
aandnota

timer

Feb 28th, 2012
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function Update ()
  2. {
  3.     roundTimeLeft = Time.time - startTime;
  4.     if (roundTimeLeft >= roundTimeSeconds)
  5.     {
  6.         startTime = Time.time;
  7.         roundTimeLeft = 0;
  8.     }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement