从 tslib 导入辅助函数

This commit is contained in:
YHH
2025-10-11 10:36:59 +08:00
parent f45af34614
commit a0177c9163
7 changed files with 58 additions and 15 deletions

View File

@@ -173,6 +173,13 @@ export class Core {
this._sceneManager = new SceneManager();
this._serviceContainer.registerInstance(SceneManager, this._sceneManager);
// 设置场景切换回调,通知调试管理器
this._sceneManager.setSceneChangedCallback(() => {
if (this._debugManager) {
this._debugManager.onSceneChanged();
}
});
// 初始化插件管理器
this._pluginManager = new PluginManager();
this._pluginManager.initialize(this, this._serviceContainer);