Hiii … I want to reset a game scene after time’s up .
https://playcanvas.com/project/975847/overview/onam-fork
in this the game start with a UI showing to select character … After time’s up i need to reset only the game scene and not want to show character selection UI …
I have tried with this one
var oldHierarchy = pc.app.root.findByName(“Root”);
oldHierarchy.destroy();
this.app.loadSceneHierarchy(‘1515752.json’, function (err, entity) {
if (err) {
console.error(err);
}
});
But it reload from the UI. Is it possible to reset only the game scene without showing the character selection UI