private void StopTimerAction(DateTime datetime) { _isStopTimer = true; if (StopTimer != null) { StopTimer.Invoke(datetime); } }
public void TimerGo() { if (IsStart && TimeStart < 10) { TimeStart += Time.deltaTime; } else { IsStart = false; TimeStart = 0; StopTimer.Invoke(); } }