void StepRecorder()
{
if (_frameCount == 0)
{
Directory.CreateDirectory("Capture");
Time.captureFramerate = _frameRate;
}
else if (_frameCount > 0)
{
var name = "Capture/frame" + _frameCount.ToString("0000") + ".png";
Application.CaptureScreenshot(name, _superSampling);
}
_frameCount++;
}