TCX_LongZhu
DESKTOP-MMO982B\User 2025-06-18 15:04:44 +08:00
parent 31e8be8522
commit cc1db8e2a7
1 changed files with 1 additions and 0 deletions

View File

@ -812,6 +812,7 @@ function HandBookHeroAndEquipListPanel:SetSelectBtn()
-- self.selectBtn:SetActive(proId ~= ProIdConst.All)
self.selectBtn.transform:SetParent(tabs[proId].transform)
self.selectBtn.transform.localPosition = Vector3.zero
self.selectBtn.transform:SetSiblingIndex(0)
Util.GetGameObject( self.selectBtn.transform, "Text"):GetComponent("Text").text=Util.GetGameObject( tabs[proId].transform, "Text"):GetComponent("Text").text
end
function HandBookHeroAndEquipListPanel:SortHeroNatural(heroList)