Take a screenshot
Hi,
I develop for Oculus Quest on Unity 2019.3.8f1.
I want to take a screenshot when my user push a button on the right controller.
To do the "screenshot" part, I use the following line :
I develop for Oculus Quest on Unity 2019.3.8f1.
I want to take a screenshot when my user push a button on the right controller.
To do the "screenshot" part, I use the following line :
ScreenCapture.CaptureScreenshot(Path.Combine(Application.persistentDataPath, "screenshot.jpg"));
This one work on Unity Editor, not on the Quest. I've put some debug so I'm sure this code is called. Just when I go in the right folder (with SideQuest), my file is not there.
Can someone help me ?
Thanks.
Can someone help me ?
Thanks.
