unity3d-jp / FrameCapturer

export framebuffer, GBuffer or any RenderTextures from Unity to file. supported format: png, exr, gif, webm, mp4
MIT License
1.04k stars 165 forks source link

Only limit framerate while recording #50

Open ArturKovacs opened 4 years ago

ArturKovacs commented 4 years ago

Currently the component must be disabled to prevent it from capping the frame rate if it's set to constant with Fix Delta Time and Wait Delta Time.

This PR adds a very little change that prevents the component limiting the frame rate unless it is currently recording.