Congratulations

This commit is contained in:
2025-06-20 14:39:46 +08:00
parent 0fc9b788b9
commit 2765e3500c
7 changed files with 41 additions and 36 deletions

View File

@@ -37,6 +37,9 @@ export class GameDone extends Laya.Script {
@property(Laya.Image)
public star4: Laya.Image
@property(Laya.Image)
public img_title: Laya.Image
@property(Laya.Label)
public label_diffucuty: Laya.Label
@@ -63,6 +66,8 @@ export class GameDone extends Laya.Script {
ResourceManager.getInstance().loadTexture(respath.icon_star2, this.star2)
ResourceManager.getInstance().loadTexture(respath.icon_star2, this.star3)
ResourceManager.getInstance().loadTexture(respath.icon_star1, this.star4)
if (this.img_title)
ResourceManager.getInstance().loadTexture(respath.Congratulations, this.img_title)
this.owner.x = 0
this.owner.y = 0