【优化】图鉴,选中阵营页签后,查看神将信息,点击返回,应该固定在之前选中的页签上
parent
edc0193ab6
commit
4e74194195
|
@ -144,7 +144,7 @@ function HandBookHeroAndEquipListPanel:OnOpen(_type)
|
||||||
end
|
end
|
||||||
--界面打开或者重新打开后,界面刷新时调用(用于子类重写)
|
--界面打开或者重新打开后,界面刷新时调用(用于子类重写)
|
||||||
function HandBookHeroAndEquipListPanel:OnShow()
|
function HandBookHeroAndEquipListPanel:OnShow()
|
||||||
proId = 0
|
proId = PlayerManager.headBookListTag
|
||||||
if OpenType == 1 then
|
if OpenType == 1 then
|
||||||
self.heroScroll:SetActive(true)
|
self.heroScroll:SetActive(true)
|
||||||
self.heroScrollbar:SetActive(false)
|
self.heroScrollbar:SetActive(false)
|
||||||
|
@ -707,6 +707,7 @@ end
|
||||||
|
|
||||||
--设置选中按钮
|
--设置选中按钮
|
||||||
function HandBookHeroAndEquipListPanel:SetSelectBtn()
|
function HandBookHeroAndEquipListPanel:SetSelectBtn()
|
||||||
|
PlayerManager.headBookListTag = proId
|
||||||
-- self.selectBtn:SetActive(proId ~= ProIdConst.All)
|
-- self.selectBtn:SetActive(proId ~= ProIdConst.All)
|
||||||
if proId ~= ProIdConst.All then
|
if proId ~= ProIdConst.All then
|
||||||
self.selectBtn.transform.localPosition = tabs[proId].transform.localPosition
|
self.selectBtn.transform.localPosition = tabs[proId].transform.localPosition
|
||||||
|
|
Loading…
Reference in New Issue