HuaweiDemo/assets/script/ui/fight/down_off_panel.ts
2023-11-07 09:17:57 +08:00

20 lines
476 B
TypeScript

import { _decorator, Component } from 'cc';
import { UIManager } from '../../framework/uiManager';
import { Constant } from '../../framework/constant';
import { GobeUtil } from '../../core/gobeUtil';
const { ccclass, property } = _decorator;
@ccclass('DownOffPanel')
export class DownOffPanel extends Component {
show(){
}
onCancel(){
GobeUtil.instance.leaveGame();
UIManager.instance.showTransition(Constant.SCENE_NAME.SLECT)
}
}