Persistent UI

0 votes
asked Oct 29, 2018 by matheusw (180 points)
reshown Oct 30, 2018 by albert52
Hello

I wanted to make an UI menu that was triggered on when the camera finds the target but doesn't turn off when the target is lost, but is turned off when the user clicks on a button.

Thanks in advance

1 Answer

0 votes
answered Nov 6, 2018 by albert52 (31,850 points)
Unity?or Native(Android、iOS)
commented Nov 12, 2018 by matheusw (180 points)
Unity. I managed to do it by adding a script that when the canvas is activated and enabled, that is, when the target is recognized, it sets itself as a parentless object, then I added a button that when clicked, put it back to its former parent.
But if someone knows about another way, I'd be happy to know.
Thanks
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...