From 85d9610f411eb2218d810b21c942b753f906fb43 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Mon, 28 Jun 2021 19:37:43 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=A5=9E=E5=B0=86=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E3=80=91=E5=8D=87=E7=BA=A7=E5=88=B0=E7=AD=89=E7=BA=A7=E4=B8=8A?= =?UTF-8?q?=E9=99=90=E6=B2=A1=E6=9C=89=E7=BB=99=E5=90=8E=E7=AB=AF=E5=8F=91?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/RoleInfo/RoleInfoLayout.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoLayout.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoLayout.lua index d05256a6c6..65948379dc 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoLayout.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoLayout.lua @@ -222,13 +222,14 @@ function this:UpdateHeroUpLvAndBreakMaterialShow() if curHeroData.lv>=HeroManager.heroLvEnd[curHeroData.heroConfig.Id] then this.noUpLvText:SetActive(true) this.upLv:SetActive(false) - this.upLvBtn:SetActive(false) - this.upLvBtn:GetComponent("RectTransform").anchoredPosition = Vector2.New(322.3, -90) + -- this.upLvBtn:SetActive(false) + --移除没有隐私是为了按钮抬起检测 不能隐藏 注意哦 + this.upLvBtn:GetComponent("RectTransform").anchoredPosition = Vector2.New(2098, -42.00134 ) else Util.ClearChild(this.itemGrid.transform) this.noUpLvText:SetActive(false) this.upLv:SetActive(true) - this.upLvBtn:SetActive(true) + -- this.upLvBtn:SetActive(true) this.upLvBtn:GetComponent("RectTransform").anchoredPosition = Vector2.New(322.3, -90) isUpLvMaterials=true for i = 1, #costItemList do @@ -271,7 +272,7 @@ function this:UpdateHeroUpLvAndBreakMaterialShow() if isGongMing then this.gongmingText:SetActive(true) this.upLv:SetActive(false) - this.upLvBtn:SetActive(false) + -- this.upLvBtn:SetActive(false) this.noUpLvText:SetActive(false) this.upLvBtn:GetComponent("RectTransform").anchoredPosition = Vector2.New(2098, -42.00134 ) return