继续补充UI
This commit is contained in:
@@ -19,6 +19,9 @@ export class GameDone extends Laya.Script {
|
||||
@property(Laya.Image)
|
||||
public obj_light: Laya.Image
|
||||
|
||||
@property(Laya.Image)
|
||||
public obj_top: Laya.Image
|
||||
|
||||
@property(Laya.Box)
|
||||
public obj_panel: Laya.Box
|
||||
|
||||
@@ -54,6 +57,8 @@ export class GameDone extends Laya.Script {
|
||||
|
||||
onAwake(): void {
|
||||
ResourceManager.getInstance().loadTexture(respath.bg_done, this.bg)
|
||||
ResourceManager.getInstance().loadTexture(respath.bg_done_light, this.obj_light)
|
||||
ResourceManager.getInstance().loadTexture(respath.bg_done_top, this.obj_top)
|
||||
ResourceManager.getInstance().loadTexture(respath.icon_star2, this.star1)
|
||||
ResourceManager.getInstance().loadTexture(respath.icon_star2, this.star2)
|
||||
ResourceManager.getInstance().loadTexture(respath.icon_star2, this.star3)
|
||||
|
||||
Reference in New Issue
Block a user