【轩辕宝镜】偶现跨0点报错
parent
8c7d2e935e
commit
5557795658
|
|
@ -146,6 +146,7 @@ this.refreshShow = function()
|
||||||
local openFunctions = {}
|
local openFunctions = {}
|
||||||
for k,v in pairs(activityType) do
|
for k,v in pairs(activityType) do
|
||||||
local go = Util.GetGameObject(this.AnimRoot, v.gameObject)
|
local go = Util.GetGameObject(this.AnimRoot, v.gameObject)
|
||||||
|
if go then
|
||||||
go:GetComponent("Image").sprite = this.spLoader:LoadSprite(v.bg)
|
go:GetComponent("Image").sprite = this.spLoader:LoadSprite(v.bg)
|
||||||
local textParnet = Util.GetGameObject(go, "titileBg")
|
local textParnet = Util.GetGameObject(go, "titileBg")
|
||||||
local textName = Util.GetGameObject(textParnet, "Text"):GetComponent("Text")
|
local textName = Util.GetGameObject(textParnet, "Text"):GetComponent("Text")
|
||||||
|
|
@ -181,6 +182,7 @@ this.refreshShow = function()
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
this:TimeCountDown(openFunctions)
|
this:TimeCountDown(openFunctions)
|
||||||
this.remainTimes.text = XuanYuanMirrorManager.GetTimeTip()
|
this.remainTimes.text = XuanYuanMirrorManager.GetTimeTip()
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue