【主题活动】bannerSetNative
parent
38bbb808b4
commit
c3a5e5b7de
|
@ -100,6 +100,7 @@ function CommonActPage:OnShow(_sortingOrder)
|
||||||
end
|
end
|
||||||
if self.actConfig.Icon[3] and self.actConfig.Icon[3] ~= "" then
|
if self.actConfig.Icon[3] and self.actConfig.Icon[3] ~= "" then
|
||||||
self.titleBgIma.sprite = self.spLoader:LoadSprite(self.actConfig.Icon[3])
|
self.titleBgIma.sprite = self.spLoader:LoadSprite(self.actConfig.Icon[3])
|
||||||
|
self.titleBgIma:SetNativeSize()
|
||||||
end
|
end
|
||||||
if self.actConfig.Icon[4] and self.actConfig.Icon[4] ~= "" then
|
if self.actConfig.Icon[4] and self.actConfig.Icon[4] ~= "" then
|
||||||
self.titleIma.gameObject:SetActive(true)
|
self.titleIma.gameObject:SetActive(true)
|
||||||
|
|
Loading…
Reference in New Issue