Skip to content

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.

refactor: remove addressable groups from bottom dock panel

esengine5187f41bc122
diff --git a/editor/src/Editor.ts b/editor/src/Editor.ts
index e4928cea1..3d3e17b2d 100644
--- a/editor/src/Editor.ts
+++ b/editor/src/Editor.ts
@@ -490,11 +490,6 @@ export class Editor {
}
showAddressableWindow(): void {
- if (this.windowManager_) {
- this.windowManager_.detachPanel('addressable', 'Addressable Groups');
- return;
- }
-
if (this.addressableWindow_) {
this.addressableWindow_.element.style.zIndex = '1001';
return;
diff --git a/editor/src/panels/builtinPanels.ts b/editor/src/panels/builtinPanels.ts
index 330ad2449..b4bc50ef9 100644
--- a/editor/src/panels/builtinPanels.ts
+++ b/editor/src/panels/builtinPanels.ts
@@ -5,7 +5,7 @@ import { SceneViewPanel } from './scene-view/SceneViewPanel';
import { GameViewPanel } from './game-view/GameViewPanel';
import { ContentBrowserPanel } from './content-browser/ContentBrowserPanel';
import { OutputPanel } from './OutputPanel';
-import { AddressablePanel } from './AddressablePanel';
+
import { icons } from '../utils/icons';
export interface BuiltinPanelOptions {
@@ -76,14 +76,4 @@ export function registerBuiltinPanels(options: BuiltinPanelOptions): void {
factory: (c) => new OutputPanel(c),
});
- registerPanel({
- id: 'addressable',
- title: 'Addressable Groups',
- icon: icons.list(14),
- position: 'bottom',
- order: 2,
- defaultVisible: false,
- factory: (c, s) => new AddressablePanel(c, s),
- });
-
}