Stop camera when pressing a button

0 votes
asked Jun 6 by alessandrocimb (120 points)

Hi guys,
Im really new to unity and I'm currently developing an application using EasyAR.
My scene is correctly set up and everything works fine but my goal is to create a button that when clicked freezes the camera to the last frame is shown. In other words, I wish to pause what the user is watching with his camera to be able to observe it better, almost as if he takes a picture but without saving it. Is there any way to do it?

1 Answer

0 votes
answered Jun 16 by wjrivera (800 points)
Hello, is possible, in the button events you must add the object that has ARSession, and disable it, like this "ARSession.enabled = false"
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.