Congratulations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user