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