调整几个弹框
This commit is contained in:
@@ -12,14 +12,14 @@ const { regClass, property } = Laya
|
||||
export class GameOver extends Laya.Script {
|
||||
declare owner: Laya.Box
|
||||
|
||||
@property(Laya.Sprite)
|
||||
public btn_second: Laya.Sprite
|
||||
@property(Laya.Box)
|
||||
public btn_second: Laya.Box
|
||||
|
||||
@property(Laya.Sprite)
|
||||
public btn_restart: Laya.Sprite
|
||||
@property(Laya.Box)
|
||||
public btn_restart: Laya.Box
|
||||
|
||||
@property(Laya.Sprite)
|
||||
public btn_newOrClose: Laya.Sprite
|
||||
@property(Laya.Box)
|
||||
public btn_newOrClose: Laya.Box
|
||||
|
||||
@property(Laya.Label)
|
||||
public label_newOrClose: Laya.Label
|
||||
|
||||
@@ -16,11 +16,11 @@ export class GamePause extends Laya.Script {
|
||||
@property(Laya.Label)
|
||||
public label_diffucuty: Laya.Label
|
||||
|
||||
@property(Laya.Sprite)
|
||||
public btn_continue: Laya.Sprite
|
||||
@property(Laya.Box)
|
||||
public btn_continue: Laya.Box
|
||||
|
||||
@property(Laya.Sprite)
|
||||
public btn_restart: Laya.Sprite
|
||||
@property(Laya.Box)
|
||||
public btn_restart: Laya.Box
|
||||
|
||||
// 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次
|
||||
onAwake(): void {
|
||||
|
||||
@@ -253,7 +253,7 @@ export class Stage extends Laya.Script {
|
||||
}
|
||||
|
||||
onUpdateMistake(): void {
|
||||
this.label_mistake.text = `Mistake: ${this.data.get_mistake()}/${config.MISTAKE_MAX}`
|
||||
this.label_mistake.text = `Mistakes: ${this.data.get_mistake()} / ${config.MISTAKE_MAX}`
|
||||
}
|
||||
|
||||
onSetBlock(block: Block, animated: boolean = false): void {
|
||||
|
||||
Reference in New Issue
Block a user