22 lines
570 B
TypeScript
22 lines
570 B
TypeScript
import { _decorator, Component, Node } from "cc";
|
|||
|
|
import Utils from "../../Main/Common/Utils";
|
||
|
|
import { GButton } from "../../Main/Common/GButton";
|
||
|
|
|
||
|
|
const { ccclass, property } = _decorator;
|
||
|
|
|
||
|
|
//紧张操作界面
|
||
|
|
@ccclass('DisableOper_UI')
|
||
|
|
export class DisableOper_UI extends Component {
|
||
|
|
private _nodeTab: any = {};
|
||
|
|
|
||
|
|
protected onLoad(): void {
|
||
|
|
}
|
||
|
|
start() {
|
||
|
|
Utils.parseNode(this.node, this._nodeTab)
|
||
|
|
GButton.BandClick(this._nodeTab.BG, this.onBGClick, this);
|
||
|
|
}
|
||
|
|
|
||
|
|
onBGClick() {
|
||
|
|
// Utils.Log("DisableOper ui click")
|
||
|
|
}
|
||
|
|
}
|