From 2bc7c4e72cbe30e797b29a13012ef93c83e4b455 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Tue, 23 Feb 2021 16:52:17 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=80=8D=E9=81=A5=E6=B8=B8=E3=80=91?= =?UTF-8?q?=E9=80=8D=E9=81=A5=E6=B8=B8=E7=8E=A9=E6=B3=95=E5=B9=BB=E9=AD=94?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6=E7=BB=93=E7=AE=97=E4=BC=9A=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B9=8B=E5=89=8D=E7=9A=84=E9=87=91=E5=B8=81=E7=89=B9=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/XiaoYao/XiaoYaoMapPanel.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoMapPanel.lua b/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoMapPanel.lua index 059f531539..35df0434cb 100644 --- a/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoMapPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/XiaoYao/XiaoYaoMapPanel.lua @@ -657,6 +657,11 @@ function this:OnClose() this.timer:Stop() this.timer = nil end + for i = 1, #allEffect do + if allEffect[i] then + allEffect[i].gameObject:SetActive(false) + end + end end --界面销毁时调用(用于子类重写)