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