There is an error showing in this code, I used the VR codes provided. What should I do?
How can I fix this?
https://playcanvas.com/editor/project/982834
Here is the link for it to look
There is an error showing in this code, I used the VR codes provided. What should I do?
https://playcanvas.com/editor/project/982834
Here is the link for it to look
If you look at the error, it’s saying that this.button
is null/undefined.
this.button
is a script attribute
Looking at your scene, the script attribute for vr.js doesn’t have an Entity referenced for button
What do I put there? Thank you very much I forgot
A UI Button that is will be used to enter VR judging from the code
Got it, works na. Thanks for the VR code