【神将升级】升级到等级上限没有给后端发协议

dev_chengFeng
zhangqiang 2021-06-28 19:37:43 +08:00
parent 3c41e96caa
commit 85d9610f41
1 changed files with 5 additions and 4 deletions

View File

@ -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