예제 #1
0
 public void PauseTimer()
 {
     if (productionTimer != null)
     {
         productionTimer.Pause();
     }
 }
예제 #2
0
 public void InitTimer()
 {
     productionTimer = TimerEx.Init("Production ", 1.0f, OnProductionTimer, true);
     if (productionTimer != null)
     {
         productionTimer.Pause();
     }
 }
예제 #3
0
 private void InitTimer()
 {
     recoverEnergyTimer = TimerEx.Init("RecoverEnergy", 1.0f, OnRecoverEnergy, true);
     recoverEnergyTimer.Pause();
 }