20 lines
476 B
TypeScript
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)
|
|
}
|
|
}
|
|
|