private void PauseProvidingTimer(ResourceCardData data) { if (!_requestsTimers.ContainsKey(data)) { return; } DayTimer timer = _requestsTimers[data]; timer.PauseTimer(); }
private void ShowWindow() { if (_window.Active) { _timerForWindow.PauseTimer(); _allocationStarted?.Invoke(); // budgetAllocationStarted.RaiseEvent(); } _toShowWindow.RaiseEvent(_window); }
public void StopCreating() { Init(); _isCounting = false; _creationTimer.PauseTimer(); }