示例#1
0
 private void Timer()
 {
     if (gameActive)
     {
         if (timer > 0)
         {
             timer -= Time.deltaTime;
             levelTimer.adjust(timer);
         }
         else
         {
             frog.Death();
         }
     }
 }