//********************* // 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_PanelBattle') export class Auto_PanelBattle extends UIBase { ui_mapParentNode:Node; ui_wallNode:Node; ui_motuo:Node; ui_monsterParent:Node; ui_tempMonsterParent:Node; ui_monsterHpParent:Node; ui_treasureArea:Node; ui_treasureParent:Node; ui_player:Node; ui_graphicsLineLayer:Node; ui_skillController:Node; ui_scoreLayer:Node; ui_droneLayer:Node; ui_bottom:Node; ui_coinEndPos:Node; lb_coin:Label; ui_setObstaclesTip:Node; lb_removeObsTips:Label; lb_bomPropTips:Label; btnCancelObstacles:Node; btnEnsureObstacles:Node; btnCancelRemoveObs:Node; btnEnsureRemoveObs:Node; btnCancelBombProp:Node; btnEnsureBombProp:Node; btnObstacleProp:Node; btnRemoveObsProp:Node; btnBombProp:Node; btnGetCoin:Node; btnStartMonster:Node; ui_hp:Node; sp_hpProgressMid:Sprite; sp_hpProgressTop:Sprite; lb_hp:Label; ui_topSpineLayer:Node; ui_top:Node; ui_boCi:Node; ui_chapterProgress:Node; lb_difficulty:Label; lb_round:Label; lb_leftMonster:Label; lb_chapter:Label; lb_chapterName:Label; btnPause:Node; btnTipLight:Node; btnNewMenchanism:Node; btnSpeedUp:Node; btnDamageStatistics:Node; ui_damageStatistics:Node; ui_wuJin:Node; ui_flyTargetPos:Node; lb_killCount:Label; lb_rewardCount:Label; ui_fly:Node; ui_bossBlood:Node; ui_hpWarn:Node; ui_guideMask:Node; btnContinue:Node; ui_tipView:Node; btnCloseTipView:Node; onLoad(){ super.onLoad(); this.ui_mapParentNode = find("ui_mapParentNode",this.node); this.ui_wallNode = find("ui_wallNode",this.node); this.ui_motuo = find("ui_wallNode/ui_motuo",this.node); this.ui_monsterParent = find("ui_monsterParent",this.node); this.ui_tempMonsterParent = find("ui_tempMonsterParent",this.node); this.ui_monsterHpParent = find("ui_monsterHpParent",this.node); this.ui_treasureArea = find("ui_treasureArea",this.node); this.ui_treasureParent = find("ui_treasureArea/ui_treasureParent",this.node); this.ui_player = find("ui_player",this.node); this.ui_graphicsLineLayer = find("ui_graphicsLineLayer",this.node); this.ui_skillController = find("ui_skillController",this.node); this.ui_scoreLayer = find("ui_scoreLayer",this.node); this.ui_droneLayer = find("ui_droneLayer",this.node); this.ui_bottom = find("ui_bottom",this.node); this.ui_coinEndPos = find("ui_bottom/coinNode/ui_coinEndPos",this.node); this.lb_coin = find("ui_bottom/coinNode/lb_coin",this.node)?.getComponent(Label); this.ui_setObstaclesTip = find("ui_bottom/ui_setObstaclesTip",this.node); this.lb_removeObsTips = find("ui_bottom/lb_removeObsTips",this.node)?.getComponent(Label); this.lb_bomPropTips = find("ui_bottom/lb_bomPropTips",this.node)?.getComponent(Label); this.btnCancelObstacles = find("ui_bottom/btnCancelObstacles",this.node); this.btnEnsureObstacles = find("ui_bottom/btnEnsureObstacles",this.node); this.btnCancelRemoveObs = find("ui_bottom/btnCancelRemoveObs",this.node); this.btnEnsureRemoveObs = find("ui_bottom/btnEnsureRemoveObs",this.node); this.btnCancelBombProp = find("ui_bottom/btnCancelBombProp",this.node); this.btnEnsureBombProp = find("ui_bottom/btnEnsureBombProp",this.node); this.btnObstacleProp = find("ui_bottom/btnLayout/btnObstacleProp",this.node); this.btnRemoveObsProp = find("ui_bottom/btnLayout/btnRemoveObsProp",this.node); this.btnBombProp = find("ui_bottom/btnLayout/btnBombProp",this.node); this.btnGetCoin = find("ui_bottom/btnLayout/btnGetCoin",this.node); this.btnStartMonster = find("ui_bottom/btnStartMonster",this.node); this.ui_hp = find("ui_bottom/ui_hp",this.node); this.sp_hpProgressMid = find("ui_bottom/ui_hp/sp_hpProgressMid",this.node)?.getComponent(Sprite); this.sp_hpProgressTop = find("ui_bottom/ui_hp/sp_hpProgressTop",this.node)?.getComponent(Sprite); this.lb_hp = find("ui_bottom/ui_hp/lb_hp",this.node)?.getComponent(Label); this.ui_topSpineLayer = find("ui_topSpineLayer",this.node); this.ui_top = find("ui_top",this.node); this.ui_boCi = find("ui_top/ui_boCi",this.node); this.ui_chapterProgress = find("ui_top/ui_chapterProgress",this.node); this.lb_difficulty = find("ui_top/lb_difficulty",this.node)?.getComponent(Label); this.lb_round = find("ui_top/lb_round",this.node)?.getComponent(Label); this.lb_leftMonster = find("ui_top/lb_leftMonster",this.node)?.getComponent(Label); this.lb_chapter = find("ui_top/lay/lb_chapter",this.node)?.getComponent(Label); this.lb_chapterName = find("ui_top/lay/lb_chapterName",this.node)?.getComponent(Label); this.btnPause = find("ui_top/btnPause",this.node); this.btnTipLight = find("ui_top/tipBtnPos/btnTipLight",this.node); this.btnNewMenchanism = find("ui_top/btnNewMenchanism",this.node); this.btnSpeedUp = find("ui_top/btnSpeedUp",this.node); this.btnDamageStatistics = find("ui_top/btnDamageStatistics",this.node); this.ui_damageStatistics = find("ui_top/ui_damageStatistics",this.node); this.ui_wuJin = find("ui_top/ui_wuJin",this.node); this.ui_flyTargetPos = find("ui_top/ui_wuJin/ui_flyTargetPos",this.node); this.lb_killCount = find("ui_top/ui_wuJin/lb_killCount",this.node)?.getComponent(Label); this.lb_rewardCount = find("ui_top/ui_wuJin/lb_rewardCount",this.node)?.getComponent(Label); this.ui_fly = find("ui_top/ui_wuJin/ui_fly",this.node); this.ui_bossBlood = find("ui_top/ui_bossBlood",this.node); this.ui_hpWarn = find("ui_hpWarn",this.node); this.ui_guideMask = find("ui_guideMask",this.node); this.btnContinue = find("ui_guideMask/引导框/btnContinue",this.node); this.ui_tipView = find("ui_tipView",this.node); this.btnCloseTipView = find("ui_tipView/btnCloseTipView",this.node); } onEnable() { this.btnCancelObstacles.on(Node.EventType.TOUCH_END, this.click_btnCancelObstacles, this); this.btnEnsureObstacles.on(Node.EventType.TOUCH_END, this.click_btnEnsureObstacles, this); this.btnCancelRemoveObs.on(Node.EventType.TOUCH_END, this.click_btnCancelRemoveObs, this); this.btnEnsureRemoveObs.on(Node.EventType.TOUCH_END, this.click_btnEnsureRemoveObs, this); this.btnCancelBombProp.on(Node.EventType.TOUCH_END, this.click_btnCancelBombProp, this); this.btnEnsureBombProp.on(Node.EventType.TOUCH_END, this.click_btnEnsureBombProp, this); this.btnObstacleProp.on(Node.EventType.TOUCH_END, this.click_btnObstacleProp, this); this.btnRemoveObsProp.on(Node.EventType.TOUCH_END, this.click_btnRemoveObsProp, this); this.btnBombProp.on(Node.EventType.TOUCH_END, this.click_btnBombProp, this); this.btnGetCoin.on(Node.EventType.TOUCH_END, this.click_btnGetCoin, this); this.btnStartMonster.on(Node.EventType.TOUCH_END, this.click_btnStartMonster, this); this.btnPause.on(Node.EventType.TOUCH_END, this.click_btnPause, this); this.btnTipLight.on(Node.EventType.TOUCH_END, this.click_btnTipLight, this); this.btnNewMenchanism.on(Node.EventType.TOUCH_END, this.click_btnNewMenchanism, this); this.btnSpeedUp.on(Node.EventType.TOUCH_END, this.click_btnSpeedUp, this); this.btnDamageStatistics.on(Node.EventType.TOUCH_END, this.click_btnDamageStatistics, this); this.btnContinue.on(Node.EventType.TOUCH_END, this.click_btnContinue, this); this.btnCloseTipView.on(Node.EventType.TOUCH_END, this.click_btnCloseTipView, this); } onDisable() { this.btnCancelObstacles.off(Node.EventType.TOUCH_END, this.click_btnCancelObstacles, this); this.btnEnsureObstacles.off(Node.EventType.TOUCH_END, this.click_btnEnsureObstacles, this); this.btnCancelRemoveObs.off(Node.EventType.TOUCH_END, this.click_btnCancelRemoveObs, this); this.btnEnsureRemoveObs.off(Node.EventType.TOUCH_END, this.click_btnEnsureRemoveObs, this); this.btnCancelBombProp.off(Node.EventType.TOUCH_END, this.click_btnCancelBombProp, this); this.btnEnsureBombProp.off(Node.EventType.TOUCH_END, this.click_btnEnsureBombProp, this); this.btnObstacleProp.off(Node.EventType.TOUCH_END, this.click_btnObstacleProp, this); this.btnRemoveObsProp.off(Node.EventType.TOUCH_END, this.click_btnRemoveObsProp, this); this.btnBombProp.off(Node.EventType.TOUCH_END, this.click_btnBombProp, this); this.btnGetCoin.off(Node.EventType.TOUCH_END, this.click_btnGetCoin, this); this.btnStartMonster.off(Node.EventType.TOUCH_END, this.click_btnStartMonster, this); this.btnPause.off(Node.EventType.TOUCH_END, this.click_btnPause, this); this.btnTipLight.off(Node.EventType.TOUCH_END, this.click_btnTipLight, this); this.btnNewMenchanism.off(Node.EventType.TOUCH_END, this.click_btnNewMenchanism, this); this.btnSpeedUp.off(Node.EventType.TOUCH_END, this.click_btnSpeedUp, this); this.btnDamageStatistics.off(Node.EventType.TOUCH_END, this.click_btnDamageStatistics, this); this.btnContinue.off(Node.EventType.TOUCH_END, this.click_btnContinue, this); this.btnCloseTipView.off(Node.EventType.TOUCH_END, this.click_btnCloseTipView, this); } click_btnCancelObstacles() {} click_btnEnsureObstacles() {} click_btnCancelRemoveObs() {} click_btnEnsureRemoveObs() {} click_btnCancelBombProp() {} click_btnEnsureBombProp() {} click_btnObstacleProp() {} click_btnRemoveObsProp() {} click_btnBombProp() {} click_btnGetCoin() {} click_btnStartMonster() {} click_btnPause() {} click_btnTipLight() {} click_btnNewMenchanism() {} click_btnSpeedUp() {} click_btnDamageStatistics() {} click_btnContinue() {} click_btnCloseTipView() {} }