Hide UI during recording
I believe I saw a lens that doesn't include certain UI elements during recording.
What I want to do is make my sliders not show up during recording.
I have sliders to control the size of some objects on the screen and it would be cool if they could automatically not be included in the recorded version of the lens.
Is that possible?
Which brings another question. Is it possible to have a "on start recording" / "on end recording" event?
I could use that to show/hide the sliders...
thanks
Hey Marco!
There actually is a way to tell if the lens is recording, it is using the isRecording() method. The easiest way (and the way I always prefer) is to create a new Render Target, and set it's input to the first render target. Then, set the new render target to the Orthographic camera holding the UI. In the Scene Config, you can change the Live target to this new Render Target. That will make the UI and everything under that Orthographic Camera be hidden after the lens is recorded.
For more information check out the page about Camera and Layers
Cheers,
Ben
Thank you! I was able to achieve this!