You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
566 B
28 lines
566 B
import { _decorator, Component, Node } from 'cc';
|
|
import { GEvent } from 'db://assets/mx/module/event/GEvent';
|
|
import { UIBase } from 'db://assets/mx/module/ui/UIBase';
|
|
const { ccclass, property } = _decorator;
|
|
|
|
@ccclass('atGameFail')
|
|
export class atGameFail extends UIBase {
|
|
start() {
|
|
|
|
}
|
|
|
|
|
|
onLoad(): void {
|
|
super.onLoad();
|
|
}
|
|
|
|
fanhuiBtnClick(){
|
|
GEvent.Ins.emit(GEvent.ExitAtTrafficGame)
|
|
this.close(1)
|
|
}
|
|
|
|
restartBtnClick(){
|
|
GEvent.Ins.emit(GEvent.RestartAtTrafficGame)
|
|
this.close(1)
|
|
}
|
|
}
|
|
|
|
|
|
|