【修行】取消玩家信息界面神印神将头像,练气期预览报错修改
parent
1ab094facb
commit
d09ff174d2
|
@ -44,7 +44,7 @@ function PracticeStatePreview:OnShow(_parent,_args)
|
|||
self:SetSingleData(index,go,self.previewData[index])
|
||||
end)
|
||||
ForceRebuildLayout(self.GameObject.transform)
|
||||
self.ScrollView:SetIndex(PracticeManager.PracticeBigLevel > 0 and PracticeManager.PracticeBigLevel - 1 or 1)
|
||||
self.ScrollView:SetIndex(PracticeManager.PracticeBigLevel)
|
||||
end
|
||||
|
||||
function PracticeStatePreview:SetSingleData(index,_go,_data)
|
||||
|
|
|
@ -352,7 +352,7 @@ function this.FormationAdapter(teamInfo)
|
|||
local hero = Util.GetGameObject(item,"hero"):GetComponent("Image")
|
||||
icon.sprite = this.spLoader:LoadSprite(GetResourcePath(XiuXianSkillConfig[value.id].Icon))
|
||||
if value.type == 1 then
|
||||
hero.gameObject:SetActive(true)
|
||||
hero.gameObject:SetActive(false)--头像太小说不要了
|
||||
hero.sprite = this.spLoader:LoadSprite(GetSpriteNameByItemId(value.heroTId))
|
||||
else
|
||||
hero.gameObject:SetActive(false)
|
||||
|
|
Loading…
Reference in New Issue