From 01d215097b9bc8b9aa00d6f4db26664d0b83ed54 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Wed, 2 Sep 2020 17:10:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=B0=E7=9A=84ui=E7=BB=93?= =?UTF-8?q?=E6=9E=84=E5=AF=BC=E8=87=B4=E5=BC=95=E5=AF=BC=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Guide/GuidePanel.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Guide/GuidePanel.lua b/Assets/ManagedResources/~Lua/Modules/Guide/GuidePanel.lua index ff80c5fca7..f350686fb0 100644 --- a/Assets/ManagedResources/~Lua/Modules/Guide/GuidePanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Guide/GuidePanel.lua @@ -125,9 +125,7 @@ function this.ExecuteBehavior(beType, beArgs) end _trigger.onPointerUp = _trigger.onPointerUp + endFunc elseif beType == 2 then --点击界面按钮 - LogGreen(beArgs) - LogGreen(UIManager.uiNode.gameObject.name) - local btn = Util.GetGameObject(UIManager.uiNode, beArgs):GetComponent("Button") + local btn = Util.GetGameObject(UIManager.uiRoot, beArgs):GetComponent("Button") this.button:GetComponent("Button").onClick:RemoveAllListeners() Util.AddClick(this.button, function() -- if UIManager.IsOpen(UIName.FightPointPassMainPanel) then