游戏结束
This commit is contained in:
@@ -16,7 +16,7 @@ export class Home extends Laya.Script {
|
||||
onAwake(): void {
|
||||
this.btn_start.on(Laya.Event.CLICK, this, (evt: Laya.Event) => {
|
||||
console.log("btn_start=", evt);
|
||||
UIManager.getInstance().loadStage();
|
||||
UIManager.getInstance().loadStage("first");
|
||||
this.owner.destroy()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user