神将置换星级设置报错修改提交

dev_chengFeng
jiaoyangna 2022-02-08 13:40:25 +08:00
parent 62a9cda5d3
commit b28899db3f
1 changed files with 1 additions and 1 deletions

View File

@ -788,7 +788,7 @@ function SetCardStars(starGrid, star,starType)
if starType == 3 then if starType == 3 then
starScale = 7 starScale = 7
end end
for i = 1, 21 do for i = 1, starGrid.transform.childCount do
starGrid.transform:GetChild(i - 1).gameObject:SetActive(false) starGrid.transform:GetChild(i - 1).gameObject:SetActive(false)
end end
if star < 6 then if star < 6 then