多对塔秘宝入口修改
parent
e0ec629024
commit
a2e1218fb9
File diff suppressed because it is too large
Load Diff
|
|
@ -56,7 +56,9 @@ function GodsWayTowerPanel:InitComponent()
|
|||
this.addBtn = Util.GetGameObject(self.gameObject, "InfoRoot/bottomLayout/addBtn")
|
||||
this.btnRank = Util.GetGameObject(self.gameObject, "InfoRoot/btnRank")
|
||||
this.btnFormation = Util.GetGameObject(self.gameObject, "InfoRoot/btnFormation")
|
||||
this.btnHelpFight = Util.GetGameObject(self.gameObject, "InfoRoot/btnHelpFight")
|
||||
this.btnHelpFightObj= Util.GetGameObject(self.gameObject, "InfoRoot/btnHelpFightBg")
|
||||
this.btnHelpFight = Util.GetGameObject(self.gameObject, "InfoRoot/btnHelpFightBg/btnHelpFight")
|
||||
Util.GetGameObject(self.gameObject, "InfoRoot/btnHelpFightBg/btnHelpFightText"):GetComponent("Text").text="秘宝"
|
||||
this.btnHelpFightRed = Util.GetGameObject(this.btnHelpFight, "redPoint")
|
||||
this.btnHelpFight:GetComponent("Image").sprite = this.spLoader:LoadSprite("godsWayTower_treasure_zh")
|
||||
this.rewardItemPre= Util.GetGameObject(self.gameObject, "InfoRoot/rewardContent/item")
|
||||
|
|
@ -221,7 +223,7 @@ function GodsWayTowerPanel:OnShow()
|
|||
else
|
||||
curId=ActivityGiftManager.GetActivityIdByType(ActivityTypeDef.godsWayTowerTreasure_three)
|
||||
end
|
||||
this.btnHelpFight:SetActive(curId~=0)
|
||||
this.btnHelpFightObj:SetActive(curId~=0)
|
||||
this.moppingUpBtn:SetActive(curFloor~=0)
|
||||
storeDataId,itemId,costNum = GodsWayTowerManager.GetCost(curType)
|
||||
if curType==1 then
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ function TaSuiLingXiao:ShowSkillList()
|
|||
ForceRebuildLayout(self.scrollItem.transform)
|
||||
local curSkillData = {}
|
||||
curSkillData.skillConfig = skillData
|
||||
local pos = Vector2.New(0,self.itemList[i].gameObject:GetComponent("RectTransform").localPosition.y + self.scrollItem:GetComponent("RectTransform").localPosition.y)
|
||||
local pos = Vector2.New(0,self.itemList[i].gameObject:GetComponent("RectTransform").localPosition.y + self.scrollItem:GetComponent("RectTransform").localPosition.y-300)
|
||||
Util.AddOnceClick(self.itemList[i], function()
|
||||
local maxLv= HeroManager.GetHeroSkillMaxLevel(self.configData.HeroId,skillData.Type)
|
||||
UIManager.OpenPanel(UIName.SkillInfoPopup,curSkillData,1,10,maxLv,i,pos)
|
||||
|
|
|
|||
Loading…
Reference in New Issue