品阶错误修改

dev_chengFeng
jiaoyangna 2021-03-11 15:11:04 +08:00
parent c131b4e521
commit e7dff66a4f
1 changed files with 2 additions and 2 deletions

View File

@ -256,8 +256,8 @@ function this.RoleInfo1()
end
this.pinjieList[i]:GetComponent("Image").sprite=Util.LoadSprite(i<=pId and pinjieImage[2] or pinjieImage[1])
end
for n = 0, this.pinjieRoot.transform.childCount-1 do --超过品阶关闭显示
this.pinjieRoot.transform:GetChild(n).gameObject:SetActive(n+1<=#hruConfig)
for n = 1, this.pinjieRoot.transform.childCount - 1 do --超过品阶关闭显示
this.pinjieRoot.transform:GetChild(n).gameObject:SetActive(n<=#hruConfig)
end
--基础属性