预加载特效序列帧
This commit is contained in:
@@ -34,11 +34,17 @@ export class ResourceManager {
|
||||
}
|
||||
|
||||
this.resources.push({ url: respath.bg_done, type: Laya.Loader.IMAGE })
|
||||
this.resources.push({ url: respath.icon_star1, type: Laya.Loader.IMAGE })
|
||||
this.resources.push({ url: respath.icon_star2, type: Laya.Loader.IMAGE })
|
||||
|
||||
this.resources.push({ url: respath.home_top_dc_bg_normal, type: Laya.Loader.IMAGE })
|
||||
this.resources.push({ url: respath.home_top_dc_bg_finish, type: Laya.Loader.IMAGE })
|
||||
this.resources.push({ url: respath.dc_top_bg_normal, type: Laya.Loader.IMAGE })
|
||||
this.resources.push({ url: respath.dc_top_bg_finish, type: Laya.Loader.IMAGE })
|
||||
const dc_lights = respath.get_dc_lights()
|
||||
for (let i = 0; i < dc_lights.length; i++) {
|
||||
this.resources.push({ url: dc_lights[i], type: Laya.Loader.IMAGE })
|
||||
}
|
||||
|
||||
this.resources.push({ url: respath.trophy_bg_light_gold, type: Laya.Loader.IMAGE })
|
||||
this.resources.push({ url: respath.trophy_bg_light_grey, type: Laya.Loader.IMAGE })
|
||||
|
||||
Reference in New Issue
Block a user