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

31 lines
973 B

//*********************
// 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_PanelCDK')
export class Auto_PanelCDK extends UIBase {
bgMask:Node;
btnSave:Node;
onLoad(){
super.onLoad();
this.bgMask = find("bgMask",this.node);
this.btnSave = find("center/btnSave",this.node);
}
onEnable() {
this.bgMask.on(Node.EventType.TOUCH_END, this.click_bgMask, this);
this.btnSave.on(Node.EventType.TOUCH_END, this.click_btnSave, this);
}
onDisable() {
this.bgMask.off(Node.EventType.TOUCH_END, this.click_bgMask, this);
this.btnSave.off(Node.EventType.TOUCH_END, this.click_btnSave, this);
}
click_bgMask() {}
click_btnSave() {}
}