예제 #1
0
        public void SetCaptureTimerValue(int t)
        {
            var captureTimer = _overlayEntryProvider.GetOverlayEntry("CaptureTimer");

            if (captureTimer != null)
            {
                captureTimer.Value = $"{t} s";
                _rTSSService.SetOverlayEntry(captureTimer);
            }
        }
예제 #2
0
 public void SetCaptureTimerValue(int t)
 {
     if (_appConfiguration.IsOverlayActive)
     {
         var captureTimer = _overlayEntryProvider.GetOverlayEntry("CaptureTimer");
         if (captureTimer != null)
         {
             captureTimer.Value = $"{t} s";
             _rTSSService.SetOverlayEntry(captureTimer);
         }
     }
 }