Beispiel #1
0
 public void SetTimer()
 {
     UITimer.ResetAnimatorBools();
     UITimer.EnableAllDots();
     UITimer.amountOfEnabledDots = amountOfDots;
     UITimer.lastTime            = currentTime = timePerQuestion;
 }
Beispiel #2
0
 bool TimeUp()
 {
     if (currentTime <= 0)
     {
         UITimer.DisableAllDots();
         UITimer.ResetAnimatorBools();
         return(true);
     }
     else
     {
         return(false);
     }
 }