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

70 lines
2.3 KiB

//*********************
// create by 流云
// 插件自动生成的节点脚本
// 请勿修改(自动生成会覆盖)
// 请通过子类继承使用
//*********************
import { _decorator, Component, Node, find, Sprite, Label, Button, ScrollView, EditBox, ProgressBar } from 'cc';
import { UIBase } from '../../../mx/module/ui/UIBase';
const { ccclass } = _decorator;
@ccclass('Auto_wipeOut')
export class Auto_wipeOut extends UIBase {
bgMask:Node;
ui_center:Node;
kuaisuBtn:Node;
lingquBtn:Node;
kuaisuAdBtn:Node;
zhangjieLab:Label;
itemNode:Node;
layContent:Node;
huoquNodes:Node;
progressBar:ProgressBar;
prodescLab:Label;
zanwujiangli:Node
//lingquRed:Node;
onLoad(){
super.onLoad();
this.bgMask = find("bgMask",this.node);
this.ui_center = find("ui_center",this.node);
this.kuaisuBtn = find("ui_center/kuaisuBtn",this.node);
this.lingquBtn = find("ui_center/lingquBtn",this.node);
this.kuaisuAdBtn = find("ui_center/kuaisuAdBtn",this.node);
this.zhangjieLab = find("ui_center/zhangjieLab",this.node)?.getComponent(Label);
this.itemNode = find("ui_center/内框/item1",this.node);
this.layContent = find("ui_center/内框/layContent",this.node);
this.huoquNodes = find("ui_center/huoquNodes",this.node);
this.progressBar = find("ui_center/ProgressBar",this.node)?.getComponent(ProgressBar);
this.prodescLab = find("ui_center/ProgressBar/descLab",this.node)?.getComponent(Label);
this.zanwujiangli = find("ui_center/内框/zanwujiangli",this.node);
//this.lingquRed = find("ui_center/lingquBtn/红点",this.node);
}
onEnable() {
this.bgMask.on(Node.EventType.TOUCH_END, this.click_bgMask, this);
this.kuaisuBtn.on(Node.EventType.TOUCH_END, this.click_kuaisuBtn, this);
this.lingquBtn.on(Node.EventType.TOUCH_END, this.click_lingquBtn, this);
this.kuaisuAdBtn.on(Node.EventType.TOUCH_END, this.click_kuaisuAdBtn, this);
}
onDisable() {
this.bgMask.off(Node.EventType.TOUCH_END, this.click_bgMask, this);
this.kuaisuBtn.off(Node.EventType.TOUCH_END, this.click_kuaisuBtn, this);
this.lingquBtn.off(Node.EventType.TOUCH_END, this.click_lingquBtn, this);
this.kuaisuAdBtn.off(Node.EventType.TOUCH_END, this.click_kuaisuAdBtn, this);
}
click_bgMask() {
}
click_kuaisuBtn() {
}
click_lingquBtn() {
}
click_kuaisuAdBtn() {
}
}