23 lines
400 B
TypeScript
23 lines
400 B
TypeScript
import NetManage from '../manages/NetManage';
|
|
import { UIBase } from '../UI/UIBase';
|
|
|
|
const { ccclass, property } = cc._decorator;
|
|
|
|
@ccclass
|
|
export class CancelBoost extends UIBase {
|
|
public static prefabPath = 'prefabs/tips/pb_cancelBoost';
|
|
|
|
private indata: any;
|
|
|
|
init(data: any) {}
|
|
|
|
onClose() {
|
|
this.node.destroy();
|
|
}
|
|
|
|
onOK() {
|
|
this.node.destroy();
|
|
cc.Notifier.emit('boostcancel');
|
|
}
|
|
}
|