update
This commit is contained in:
@@ -18,7 +18,7 @@ export class MainScene extends Component {
|
|||||||
let gameRootUI = this.node.getComponent(GameRootUI);
|
let gameRootUI = this.node.getComponent(GameRootUI);
|
||||||
if (!gameRootUI) {
|
if (!gameRootUI) {
|
||||||
gameRootUI = this.node.addComponent(GameRootUI);
|
gameRootUI = this.node.addComponent(GameRootUI);
|
||||||
gameRootUI.InitByCreate(this.UIRoot, this.UILayerMod, "MainPanel");
|
gameRootUI.InitByCreate(this.UIRoot, this.UILayerMod, "ThemePanel");
|
||||||
}
|
}
|
||||||
GameRootUI.MainCamera = this.MainCamera;
|
GameRootUI.MainCamera = this.MainCamera;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"ver": "1.2.0",
|
||||||
|
"importer": "directory",
|
||||||
|
"imported": true,
|
||||||
|
"uuid": "5055a3d1-756b-4ac3-9e5b-2211d11145a6",
|
||||||
|
"files": [],
|
||||||
|
"subMetas": {},
|
||||||
|
"userData": {}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user