消消方块阵换皮表情
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
2.0 KiB

1 week ago
//*********************
// create by 流云
// 插件自动生成的节点脚本
// 请勿修改(自动生成会覆盖)
// 请通过子类继承使用
//*********************
import { _decorator, Component, Node, find, Sprite, Label, Button, ScrollView, EditBox } from 'cc';
import { UIBase } from '../../../mx/module/ui/UIBase';
const { ccclass } = _decorator;
@ccclass('Auto_BattleFail')
export class Auto_BattleFail extends UIBase {
ui_bgMask:Node;
ui_center:Node;
ui_content:Node;
btnGet:Node;
btnADGet:Node;
ui_singleItem:Node;
ui_upWeapon:Node;
btnUpWeapon:Node;
ui_upUser:Node;
btnUpUser:Node;
onLoad(){
super.onLoad();
this.ui_bgMask = find("ui_bgMask",this.node);
this.ui_center = find("ui_center",this.node);
this.ui_content = find("ui_center/ScrollView/view/ui_content",this.node);
this.btnGet = find("ui_center/btnLayout/btnGet",this.node);
this.btnADGet = find("ui_center/btnLayout/btnADGet",this.node);
this.ui_singleItem = find("ui_center/ui_singleItem",this.node);
this.ui_upWeapon = find("ui_center/ui_upWeapon",this.node);
this.btnUpWeapon = find("ui_center/ui_upWeapon/btnUpWeapon",this.node);
this.ui_upUser = find("ui_center/ui_upUser",this.node);
this.btnUpUser = find("ui_center/ui_upUser/btnUpUser",this.node);
}
onEnable() {
this.btnGet.on(Node.EventType.TOUCH_END, this.click_btnGet, this);
this.btnADGet.on(Node.EventType.TOUCH_END, this.click_btnADGet, this);
this.btnUpWeapon.on(Node.EventType.TOUCH_END, this.click_btnUpWeapon, this);
this.btnUpUser.on(Node.EventType.TOUCH_END, this.click_btnUpUser, this);
}
onDisable() {
this.btnGet.off(Node.EventType.TOUCH_END, this.click_btnGet, this);
this.btnADGet.off(Node.EventType.TOUCH_END, this.click_btnADGet, this);
this.btnUpWeapon.off(Node.EventType.TOUCH_END, this.click_btnUpWeapon, this);
this.btnUpUser.off(Node.EventType.TOUCH_END, this.click_btnUpUser, this);
}
click_btnGet() {}
click_btnADGet() {}
click_btnUpWeapon() {}
click_btnUpUser() {}
}