补充UI细节 添加每日挑战

This commit is contained in:
2025-05-20 17:41:43 +08:00
parent b6c1e58f35
commit 18785e7387
53 changed files with 8836 additions and 212 deletions

View File

@@ -36,6 +36,13 @@ export class UIManager extends Laya.Script {
})
}
public loadDCUI(): void {
Laya.loader.load(respath.dc_ui_res).then((go)=>{
var prefab = go.create()
this.getUIRoot().addChild(prefab)
})
}
public loadStageUI(stageID: string): void {
if (this.stage) {
this.stage.onLoadStage(StorageManager.getInstance().loadStage(stageID))
@@ -48,7 +55,6 @@ export class UIManager extends Laya.Script {
})
}
}
public closeStageUI(): void {
if (this.stage) {
this.stage.owner.destroy()