添加奖杯库
This commit is contained in:
@@ -14,6 +14,8 @@ export class DailyChallenge extends Laya.Script {
|
||||
|
||||
@property(Laya.Button)
|
||||
public btn_back: Laya.Button
|
||||
@property(Laya.Image)
|
||||
public btn_trophy: Laya.Image
|
||||
|
||||
@property(Laya.Image)
|
||||
public bg_dc: Laya.Image;
|
||||
@@ -52,6 +54,9 @@ export class DailyChallenge extends Laya.Script {
|
||||
UIManager.getInstance().loadHomeUI()
|
||||
this.owner.destroy()
|
||||
})
|
||||
this.btn_trophy.on(Laya.Event.CLICK, this, ()=>{
|
||||
UIManager.getInstance().loadTrophyUI()
|
||||
})
|
||||
var dayBegin = 4
|
||||
var dayCount = 31
|
||||
var user = StorageManager.getInstance().getUser()
|
||||
|
||||
Reference in New Issue
Block a user