How to see the sctructure of previous published version of my project

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.

Hi @Ivan_Stratiichuk,

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

1 Like

Hi, this is 101% what I need for now…

Only need to figure out how to implement it…

1 Like

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):

1 Like

There’s a link in the readme that shows you how here: Installing Bookmarklets

1 Like

I did it, what then…?

Once the bookmarklet is set up, when you are on a PlayCanvas app, click your bookmarklet

Something went wrong, it don`t work

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]
1 Like

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:

2 Likes

Yeeeeeeeeeeeeeeeeeeeeeees, thats it, won, gooood job, thank you!!!

1 Like

Is it possible to fork it?

To fork what? :sweat_smile:

I don`t konw how its better to say, I want to return this version of my project

https://playcanv.as/e/p/r4kqTfzp/

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…