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

44 lines
1.6 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_BattleSuccess')
export class Auto_BattleSuccess extends UIBase {
ui_bgMask:Node;
ui_center:Node;
ui_content:Node;
btnGet:Node;
btnADGet:Node;
ui_singleItem:Node;
btnShareGet: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.btnShareGet = find("ui_center/btnLayout/btnShareGet",this.node);
this.ui_singleItem = find("ui_center/ui_singleItem",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.btnShareGet.on(Node.EventType.TOUCH_END, this.click_btnShareGet, 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.btnShareGet.off(Node.EventType.TOUCH_END, this.click_btnShareGet, this);
}
click_btnGet() {}
click_btnADGet() {}
click_btnShareGet() {}
}