【登录界面】特效只在特殊背景下显示

dev_chengFeng
gaoxin 2021-06-03 15:44:28 +08:00
parent 154cab45a2
commit adeeccdc84
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ function this:InitComponent()
this.logo.gameObject:SetActive(true)
this.logo.sprite = this.spLoader:LoadSprite(logoStr)
this.logo:SetNativeSize()
-- 特效只有在特殊背景显示
Util.GetGameObject(this.sdkLoginBtn, "effect (1)"):SetActive(logoStr == "dl_ui_effect_bg")
else
this.logo.gameObject:SetActive(false)
end