添加奖杯库

This commit is contained in:
2025-05-20 21:05:30 +08:00
parent 7b519c2424
commit 061b8bc042
26 changed files with 773 additions and 0 deletions

View File

@@ -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()