void Update()
        {
            _elapsedTime += Time.deltaTime;
            if (_elapsedTime > _screenCaptureInterval)
            {
                _elapsedTime -= _screenCaptureInterval;

                string path = "";
                for (var i = 0; i < _cameraSources.Length; i++)
                {
#if UNITY_2019_3_OR_NEWER
                    if (_nameGenerator != null)
                    {
                        path = _nameGenerator.Generate(Path.Combine(_baseDirectory, $"{_cameraSources[i].name}.{_imageFormat.ToString().ToLower()}"));
                    }
                    else
#endif
                    path = Path.Combine(_baseDirectory, _cameraSources[i].name + "_" + _sequence + "." + _imageFormat.ToString().ToLower());

                    CaptureCamera.CaptureColorToFile(_cameraSources[i], _format, path, _imageFormat);
                }

                ++_sequence;
            }
        }
        void Update()
        {
            _elapsedTime += Time.deltaTime;
            if (_elapsedTime > _screenCaptureInterval)
            {
                _elapsedTime -= _screenCaptureInterval;

                for (var i = 0; i < _cameraSources.Length; i++)
                {
                    CaptureCamera.CaptureColorToFile(_cameraSources[i], _format, Path.Combine(_baseDirectory, _cameraSources[i].name + "_" + _sequence + "." + _imageFormat.ToString().ToLower()), _imageFormat);
                }

                ++_sequence;
            }
        }