消消方块阵换皮表情
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.

69 lines
3.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_pageUserLevelup')
export class Auto_pageUserLevelup extends UIBase {
ui_center:Node;
ui_skin:Node;
yulanBtn:Node;
ui_ProgressBar1:Node;
ui_ProgressBar2:Node;
ui_upLevel:Node;
ui_levelBg:Node;
ui_diban:Node;
shengjikuangBtnAtt:Node;
shengjikuangBtnBaoji:Node;
shengjikuangBtnLengque:Node;
ui_levelBgItemCopy:Node;
ui_Role:Node;
btnChangeSkin:Node;
btnPet:Node;
onLoad(){
super.onLoad();
this.ui_center = find("ui_center",this.node);
this.ui_skin = find("ui_center/ui_skin",this.node);
this.yulanBtn = find("ui_center/yulanBtn",this.node);
this.ui_upLevel = find("ui_center/ui_upLevel",this.node);
this.ui_ProgressBar1 = find("ui_center/ui_ProgressBar1",this.node);
this.ui_ProgressBar2 = find("ui_center/ui_ProgressBar2",this.node);
this.ui_levelBg = find("ui_center/ui_levelBg",this.node);
this.ui_diban = find("ui_center/ui_diban",this.node);
this.shengjikuangBtnAtt = find("ui_center/shengjikuangBtnAtt",this.node);
this.shengjikuangBtnBaoji = find("ui_center/shengjikuangBtnBaoji",this.node);
this.shengjikuangBtnLengque = find("ui_center/shengjikuangBtnLengque",this.node);
this.ui_levelBgItemCopy = find("ui_center/ui_levelBgItemCopy",this.node);
this.ui_Role = find("ui_center/ui_Role",this.node);
this.btnChangeSkin = find("ui_center/btnChangeSkin",this.node);
this.btnPet = find("ui_center/btnPet",this.node);
}
onEnable() {
this.yulanBtn.on(Node.EventType.TOUCH_END, this.click_yulanBtn, this);
this.shengjikuangBtnAtt.on(Node.EventType.TOUCH_END, this.click_shengjikuangBtnAtt, this);
this.shengjikuangBtnBaoji.on(Node.EventType.TOUCH_END, this.click_shengjikuangBtnBaoji, this);
this.shengjikuangBtnLengque.on(Node.EventType.TOUCH_END, this.click_shengjikuangBtnLengque, this);
this.btnChangeSkin.on(Node.EventType.TOUCH_END, this.click_btnChangeSkin, this);
this.btnPet.on(Node.EventType.TOUCH_END, this.click_btnPet, this);
}
onDisable() {
this.yulanBtn.off(Node.EventType.TOUCH_END, this.click_yulanBtn, this);
this.shengjikuangBtnAtt.off(Node.EventType.TOUCH_END, this.click_shengjikuangBtnAtt, this);
this.shengjikuangBtnBaoji.off(Node.EventType.TOUCH_END, this.click_shengjikuangBtnBaoji, this);
this.shengjikuangBtnLengque.off(Node.EventType.TOUCH_END, this.click_shengjikuangBtnLengque, this);
this.btnChangeSkin.off(Node.EventType.TOUCH_END, this.click_btnChangeSkin, this);
this.btnPet.off(Node.EventType.TOUCH_END, this.click_btnPet, this);
}
click_yulanBtn() {}
click_shengjikuangBtnAtt() {}
click_shengjikuangBtnBaoji() {}
click_shengjikuangBtnLengque() {}
click_btnChangeSkin() {}
click_btnPet() {}
}