update
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user