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