diff --git a/Assets/ManagedResources/~Lua/Common/functions.lua b/Assets/ManagedResources/~Lua/Common/functions.lua index 17250eda5d..80b1d0a863 100644 --- a/Assets/ManagedResources/~Lua/Common/functions.lua +++ b/Assets/ManagedResources/~Lua/Common/functions.lua @@ -519,6 +519,9 @@ function SetCardStars(starGrid, star) end elseif star > 9 then starGrid.transform:GetChild(star).gameObject:SetActive(true) + if star > 10 then + Util.GetGameObject(starGrid.transform:GetChild(star),"star").gameObject:SetActive(false) + end end end -- 在给定节点下加载预设, 返回实例化的预设