This commit is contained in:
2025-08-16 22:20:26 +08:00
parent eeeeecacc5
commit 6288d4e4bb
7 changed files with 6235 additions and 5594 deletions

View File

@@ -20,13 +20,14 @@ export class VictoryComp extends CCComp {
this.on(GameEvent.FightEnd,this.fight_end,this)
}
onAdded(args: any) {
console.log("[VictoryComp] onAdded",args)
}
mission_start(){
this.hide()
}
fight_end(e:any,val:any){
console.log("[VictoryComp] fight_end",val)
this.node.getChildByName("title").getChildByName("victory").active=val.victory
this.node.getChildByName("title").getChildByName("defeat").active=!val.victory
this.open()
}
victory_end(){