As I develop I’d like to comment out sections of code while debugging.
Is there a way to comment out a line of code from an say if I wanted to comment out the line below shadow=“receive: true” I can’t seem to do it with <!-- or /*
As I develop I’d like to comment out sections of code while debugging.
Is there a way to comment out a line of code from an say if I wanted to comment out the line below shadow=“receive: true” I can’t seem to do it with <!-- or /*
I normally put a - before it, to cancel it out ( it technically becomes a different word, so you could use any character, but using - makes it look like it’s removed )
eg
<a-entity
position="1 2 3"
-xrextras-one-finger-rotate
shadow="receive: true"
-rotation="0 90 0"
>
</a-entity>
The xrextras and rotation components are disabled in the code above, using -
Thanks again Mal,
I tried a bunch of different things
/* /
//
{/ /*}
Nothing was working. I like to comment out stuff while developing instead of deleting and replacing.
**Here is something I just learned.
You can open the project in the google inspector and navigate into the scene elements and adjust their properties in real time. I’m sure you probably know this already but I didn’;t see it in any of the tutorials, so happy to just discover this, gonna save a ton of time.