【主题活动】bannerSetNative

dev_chengFeng
ZhangBiao 2021-07-23 19:22:56 +08:00
parent 38bbb808b4
commit c3a5e5b7de
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ function CommonActPage:OnShow(_sortingOrder)
end
if self.actConfig.Icon[3] and self.actConfig.Icon[3] ~= "" then
self.titleBgIma.sprite = self.spLoader:LoadSprite(self.actConfig.Icon[3])
self.titleBgIma:SetNativeSize()
end
if self.actConfig.Icon[4] and self.actConfig.Icon[4] ~= "" then
self.titleIma.gameObject:SetActive(true)