添加粒子效果
This commit is contained in:
@@ -190,14 +190,13 @@ export class DailyChallenge extends Laya.Script {
|
||||
const nowDay = new Date().getDate()
|
||||
|
||||
ResourceManager.getInstance().loadTexture(info.icon_res, this.trophy_icon)
|
||||
ResourceManager.getInstance().loadTexture(respath.dc_render_texture, this.trophy_light)
|
||||
// 设置背景
|
||||
if (user.get_trophyRecord(info.year, info.month)) {
|
||||
ResourceManager.getInstance().loadTexture(respath.dc_top_bg_finish, this.bg_dc)
|
||||
this.trophy_light.visible = true
|
||||
this.trophy_icon.gray = false
|
||||
} else {
|
||||
ResourceManager.getInstance().loadTexture(respath.dc_top_bg_normal, this.bg_dc)
|
||||
this.trophy_light.visible = false
|
||||
this.trophy_icon.gray = true
|
||||
}
|
||||
const starCount = user.get_doneCountByDate(info.year, info.month)
|
||||
|
||||
Reference in New Issue
Block a user