IEnumerator InvokeRepeatedly() { for (var i = 0; i < _repeatCount ; i++) { _outputEvent.Invoke(); yield return new WaitForSeconds(_interval); } }