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

71 lines
2.9 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_TurnTable')
export class Auto_TurnTable extends UIBase {
ui_bgMask:Node;
ui_center:Node;
ui_highLightParent:Node;
ui_pointer1:Node;
ui_pointer2:Node;
ui_tableContent:Node;
ui_awardBottom:Node;
ui_againTipBox:Node;
ui_singleItem:Node;
lb_num:Label;
ui_result:Node;
ui_awardContent:Node;
ui_awardItem:Node;
lb_name:Label;
btnAgain:Node;
btnRestart:Node;
btnGetAward:Node;
ui_guideMask:Node;
btnContinue:Node;
onLoad(){
super.onLoad();
this.ui_bgMask = find("ui_bgMask",this.node);
this.ui_center = find("ui_center",this.node);
this.ui_highLightParent = find("ui_center/ui_highLightParent",this.node);
this.ui_pointer1 = find("ui_center/ui_pointer1",this.node);
this.ui_pointer2 = find("ui_center/ui_pointer2",this.node);
this.ui_tableContent = find("ui_center/ui_tableContent",this.node);
this.ui_awardBottom = find("ui_center/ui_awardBottom",this.node);
this.ui_againTipBox = find("ui_center/ui_againTipBox",this.node);
this.ui_singleItem = find("ui_center/ui_singleItem",this.node);
this.lb_num = find("ui_center/ui_singleItem/lb_num",this.node)?.getComponent(Label);
this.ui_result = find("ui_center/ui_result",this.node);
this.ui_awardContent = find("ui_center/ui_result/ui_awardContent",this.node);
this.ui_awardItem = find("ui_center/ui_result/ui_awardItem",this.node);
this.lb_name = find("ui_center/ui_result/ui_awardItem/lb_name",this.node)?.getComponent(Label);
this.btnAgain = find("ui_center/ui_result/btnLayout/btnAgain",this.node);
this.btnRestart = find("ui_center/ui_result/btnLayout/btnRestart",this.node);
this.btnGetAward = find("ui_center/ui_result/btnLayout/btnGetAward",this.node);
this.ui_guideMask = find("ui_guideMask",this.node);
this.btnContinue = find("ui_guideMask/引导框/btnContinue",this.node);
}
onEnable() {
this.btnAgain.on(Node.EventType.TOUCH_END, this.click_btnAgain, this);
this.btnRestart.on(Node.EventType.TOUCH_END, this.click_btnRestart, this);
this.btnGetAward.on(Node.EventType.TOUCH_END, this.click_btnGetAward, this);
this.btnContinue.on(Node.EventType.TOUCH_END, this.click_btnContinue, this);
}
onDisable() {
this.btnAgain.off(Node.EventType.TOUCH_END, this.click_btnAgain, this);
this.btnRestart.off(Node.EventType.TOUCH_END, this.click_btnRestart, this);
this.btnGetAward.off(Node.EventType.TOUCH_END, this.click_btnGetAward, this);
this.btnContinue.off(Node.EventType.TOUCH_END, this.click_btnContinue, this);
}
click_btnAgain() {}
click_btnRestart() {}
click_btnGetAward() {}
click_btnContinue() {}
}