Kziwws 1 tuần trước cách đây
mục cha
commit
f7dd8cacc3
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      assets/scripts/ui/SettleUI.ts

+ 4 - 1
assets/scripts/ui/SettleUI.ts

@@ -22,6 +22,9 @@ export class SettleUI extends BaseExp {
     public success_status_icon: Sprite;
     @autoBind({ type: Label, tooltip: "关卡等级" })
     public task_num_lable: Label;
+    @autoBind({ type: Sprite, tooltip: "解锁的枪的图片" })
+    public gun_icon: Sprite;
+
 
     //回调函数
     private cb:Function = null;
@@ -51,7 +54,7 @@ export class SettleUI extends BaseExp {
     override onBtnClicked(event:EventTouch, param:any) {
         let btnName = event.target.name;
         if(btnName === 'restart_btn'){//重新开始
-            uiMgr.hide(Constants.popUIs.failUI,this.cb);
+            uiMgr.hide(Constants.popUIs.settleUI,this.cb);
         }
     }
 }