From eceb6abcdc7e59eb8cb1b34dcab4333382a7b611 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Tue, 22 Mar 2022 14:01:59 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=8E=A2=E7=B4=A2]=3D=3D=3D=3D=3D=3D=3D=3D=3D?= =?UTF-8?q?=E5=B1=8F=E8=94=BD=E5=8A=9F=E8=83=BD=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Explore/ExploreMainPanel.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Explore/ExploreMainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Explore/ExploreMainPanel.lua index 24a5da1546..e18405c490 100644 --- a/Assets/ManagedResources/~Lua/Modules/Explore/ExploreMainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Explore/ExploreMainPanel.lua @@ -87,7 +87,9 @@ function ExploreMainPanel:InitComponent() self.helpBtn = Util.GetGameObject(self.gameObject, "btns/helpBtn") self.helpPosition=self.helpBtn:GetComponent("RectTransform").localPosition self.rankBtn = Util.GetGameObject(self.gameObject, "btns/rankBtn") - self.taskBtn = Util.GetGameObject(self.gameObject, "btns/taskBtn") + self.rankBtn:SetActive(false) + self.taskBtn = Util.GetGameObject(self.gameObject, "btns/taskBtn") + self.taskBtn:SetActive(false) end --绑定事件(用于子类重写)