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