- Home /
How can I block screenshot in Unity?
I want to display portraits in a virtual space using Unity. And I want to block the screenshot function because there is a portrait rights issue in the case of portraits. Is there a way to block screenshots in unity?
While you may be able to block screenshots, I highly doubt you could detect someone recording their own screen., for example. There wouldn't be a loss of focus, so @Zaeran 's answer wouldn't apply
Answer by Zaeran · Jun 30, 2021 at 06:08 AM
You could try having a black rectangle cover the UI when the print screen button is pressed and when the application loses focus, but any more than that may be difficult.
@Zaeran Thanks for your reply. Do you know if this plan also applies to iPhone?
Sorry for the late reply! I'm not sure unfortunately. it should work for the application losing focus in theory.
Your answer
