本地数据存取 完成

This commit is contained in:
panfudan
2025-08-12 16:58:29 +08:00
parent 5dd354a86b
commit b77f023548
9 changed files with 1376 additions and 43 deletions

View File

@@ -26,8 +26,7 @@ export class VictoryComp extends CCComp {
this.hide()
}
fight_end(e:any,val:any){
this.node.getChildByName("score").getComponent(Label).string=smc.mission.score.toString()
this.node.getChildByName("score_add").getComponent(Label).string=smc.vmdata.mission_data.score.toString()
this.open()
}
victory_end(){