ui调整
This commit is contained in:
@@ -38,11 +38,15 @@ export class MissionHomeComp extends CCComp {
|
||||
// this.select_skill()
|
||||
this.init_buff()
|
||||
}
|
||||
to_start(){
|
||||
this.show_heros()
|
||||
}
|
||||
start_mission() {
|
||||
if (this.heros.length <=0 ) {
|
||||
oops.gui.toast("请先选择英雄")
|
||||
return
|
||||
}
|
||||
this.hide_heros()
|
||||
for(let i=0;i<this.heros.length;i++){
|
||||
this.heros[i].to_destroy()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user