By Lawrence
1 minute
1 minute
Using the Babylon Inspector
Now to implement the inspector we need to change the public/index.html file.
src/index.html
Debug Layer Toggle
We don't always want to use the inspector, so I tend to add a bit of code to the src/Componens/Inspector.ts file to keep it tidy.
And add the Inspector component to the World entity.
src/components/Inspector.ts
Continue Reading
Unlock the full course to access all content and examples.
$8
=