26 lines
649 B
TypeScript
26 lines
649 B
TypeScript
import { _decorator, Component, Node } from "cc";
|
|
import Utils from "../../Main/Common/Utils";
|
|
import { GButton } from "../../Main/Common/GButton";
|
|
import GameRootUI from "../../Main/Common/GameRootUI";
|
|
|
|
const { ccclass, property } = _decorator;
|
|
|
|
//过场界面
|
|
@ccclass('Cross_UI')
|
|
export class Cross_UI extends Component {
|
|
private _nodeTab: any = {};
|
|
|
|
protected onLoad(): void {
|
|
}
|
|
start() {
|
|
Utils.parseNode(this.node, this._nodeTab)
|
|
GButton.BandClick(this._nodeTab.BG, this.onBGClick, this);
|
|
}
|
|
protected onEnable(): void {
|
|
|
|
}
|
|
|
|
onBGClick() {
|
|
// Utils.Log("cross ui click")
|
|
}
|
|
} |