Hello all,
Could someone tell me is it possible to see the structure of scene of my project that I published yesterday!?
Thanks all for help.
Hello all,
Could someone tell me is it possible to see the structure of scene of my project that I published yesterday!?
Thanks all for help.
If you mean to see the scene entity hierarchy while your PlayCanvas app is running, @yaustar has created a tool that can run on top of your application and expose that.
Check it here: yaustar.github.io/playcanvas-devtools at master · yaustar/yaustar.github.io · GitHub
Hi, this is 101% what I need for now…
Only need to figure out how to implement it…
Im a little bit disoriented, so I need to create a bookmarklet and insert the link that noted in the beginning of article!?
And what after?
So, to start with, grab the execution code without the starting javascript:
part, like this:
(function(){var a=document.createElement('script');a.src='https://yaustar.github.io/playcanvas-devtools/injector.js';document.head.appendChild(a);})();
And paste it on your PlayCanvas build in the browser console (just make sure it’s not an iframed build, use the /e/
url), and voila it works (@yaustar this is awesome indeed):
There’s a link in the readme that shows you how here: Installing Bookmarklets
Once the bookmarklet is set up, when you are on a PlayCanvas app, click your bookmarklet
Make sure to run it on an non iframed url, in your case add /e/ to your url. That will make it:
https://playcanv.as/e/b/[build code]
https://playcanv.as/e/b/[javascript:(function(){var a=document.createElement(‘script’);a.src=‘https://yaustar.github.io/playcanvas-devtools/injector.js’;document.head.appendChild(a);})();
]
this is it?
No, grab the url from the address bar as soon as you launch your build:
https://playcanv.as/b/iUENwmEB
Add /e/ before the /b/ part to get rid of the iframe:
https://playcanv.as/e/b/iUENwmEB
And now use the bookmarklet:
Yeeeeeeeeeeeeeeeeeeeeeees, thats it, won, gooood job, thank you!!!
Is it possible to fork it?
To fork what?
I don`t konw how its better to say, I want to return this version of my project
Did you create checkpoint for that build in version control? If not, you can’t fork a build. If you did, you can revert to that checkpoint via version control.
No, I didn`t
If you didn’t create a checkpoint, then unfortunately there is no way to fork from a build or return to that state.
Very very bad news…