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

50 lines
2.1 KiB

//*********************
// 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_jumpGameLevel')
export class Auto_jumpGameLevel extends UIBase {
ui_center:Node;
// ui_xianguan:Node;
// ui_xianguan6:Node;
// putongkuangBtn:Node;
// kunnankuangBtn:Node;
// diyukuangBtn:Node;
bgMask:Node;
onLoad(){
super.onLoad();
this.ui_center = find("ui_center",this.node);
this.bgMask = find("bgMask",this.node);
// this.ui_xianguan = find("ui_center/ScrollView/view/content/跳转节点/ui_xianguan",this.node);
// this.ui_xianguan6 = find("ui_center/ScrollView/view/content/跳转节点/ui_xianguan6",this.node);
// this.putongkuangBtn = find("ui_center/ScrollView/view/content/跳转节点/putongkuangBtn",this.node);
// this.kunnankuangBtn = find("ui_center/ScrollView/view/content/跳转节点/kunnankuangBtn",this.node);
// this.diyukuangBtn = find("ui_center/ScrollView/view/content/跳转节点/diyukuangBtn",this.node);
}
onEnable() {
this.bgMask.on(Node.EventType.TOUCH_END, this.click_bgMask, this);
// this.putongkuangBtn.on(Node.EventType.TOUCH_END, this.click_putongkuangBtn, this);
// this.kunnankuangBtn.on(Node.EventType.TOUCH_END, this.click_kunnankuangBtn, this);
// this.diyukuangBtn.on(Node.EventType.TOUCH_END, this.click_diyukuangBtn, this);
}
onDisable() {
this.bgMask.off(Node.EventType.TOUCH_END, this.click_bgMask, this);
// this.putongkuangBtn.off(Node.EventType.TOUCH_END, this.click_putongkuangBtn, this);
// this.kunnankuangBtn.off(Node.EventType.TOUCH_END, this.click_kunnankuangBtn, this);
// this.diyukuangBtn.off(Node.EventType.TOUCH_END, this.click_diyukuangBtn, this);
}
click_bgMask() {
}
// click_putongkuangBtn() {}
// click_kunnankuangBtn() {}
// click_diyukuangBtn() {}
}