This commit is contained in:
2025-09-11 13:09:03 +08:00
parent f3cfcecadf
commit 7156f85fdf
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export class MainScene extends Component {
let gameRootUI = this.node.getComponent(GameRootUI);
if (!gameRootUI) {
gameRootUI = this.node.addComponent(GameRootUI);
gameRootUI.InitByCreate(this.UIRoot, this.UILayerMod, "MainPanel");
gameRootUI.InitByCreate(this.UIRoot, this.UILayerMod, "ThemePanel");
}
GameRootUI.MainCamera = this.MainCamera;
}