添加了结束战斗按钮

This commit is contained in:
walkpan
2024-11-13 23:36:34 +08:00
parent 9d0ee7e7b5
commit 2a07f4718a
7 changed files with 966 additions and 383 deletions

View File

@@ -190,6 +190,7 @@ export class CardControllerComp extends CCComp {
}
}
to_mission(){
oops.message.dispatchEvent("mission_end")
this.node.getChildByName("mission_home").active=true
this.node.getChildByName("mission").active=false
this.node.getChildByName("bar").active=true;