A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix: auto-open scene after creating it in content browser
esengine1863ac48c198
diff --git a/editor/src/panels/ContentBrowserPanel.ts b/editor/src/panels/ContentBrowserPanel.tsindex 1f46c97ad..3a8871892 100644--- a/editor/src/panels/ContentBrowserPanel.ts+++ b/editor/src/panels/ContentBrowserPanel.ts@@ -805,6 +805,9 @@ export const ${className} = defineComponent('${className}', {try {await platform.writeTextFile(filePath, content);this.refresh();+ if (this.onOpenScene_) {+ this.onOpenScene_(filePath);+ }} catch (err) {console.error('Failed to create scene:', err);showErrorToast('Failed to create scene', String(err));