init
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user