【轩辕宝境】进入界面时,当前不开放的宝境入口也会亮起1S左右
parent
16268410b7
commit
fe6a38cbad
|
@ -141,39 +141,8 @@ function this:GetOpenTime(id)
|
|||
return str
|
||||
end
|
||||
|
||||
|
||||
|
||||
this.UpdateCarbonContent = function(...)
|
||||
LogBlue("type长度: "..LengthOfTable(activityType))
|
||||
if not activityType then
|
||||
activityType = {
|
||||
[1] = {
|
||||
bg = "ui_fb_btn_jy",
|
||||
name = Language[10331],
|
||||
gameObject = "renjiebaojing" ,
|
||||
},
|
||||
[2] = {
|
||||
bg = "ui_fb_btn_gh",
|
||||
name = Language[10332],
|
||||
gameObject = "fuochanbaojing" ,
|
||||
},
|
||||
[3] = {
|
||||
bg = "ui_fb_btn_sl",
|
||||
name = Language[10333],
|
||||
gameObject = "yaolingbaojing" ,
|
||||
},
|
||||
[4] = {
|
||||
bg = "ui_fb_btn_jq",
|
||||
name = Language[10334],
|
||||
gameObject = "daoxuanbaojing" ,
|
||||
},
|
||||
}
|
||||
end
|
||||
local temp = {...}
|
||||
local temp = temp[1]
|
||||
if index and index >= 0 then
|
||||
Timer.New(function()
|
||||
local openFunctions = {}
|
||||
this.refreshShow = function()
|
||||
local openFunctions = {}
|
||||
for k,v in pairs(activityType) do
|
||||
local go = Util.GetGameObject(this.AnimRoot, v.gameObject)
|
||||
go:GetComponent("Image").sprite = Util.LoadSprite(v.bg)
|
||||
|
@ -213,7 +182,39 @@ this.UpdateCarbonContent = function(...)
|
|||
end
|
||||
this:TimeCountDown(openFunctions)
|
||||
this.remainTimes.text = XuanYuanMirrorManager.GetTimeTip()
|
||||
end, index):Start()
|
||||
end
|
||||
|
||||
this.UpdateCarbonContent = function(...)
|
||||
LogBlue("type长度: "..LengthOfTable(activityType))
|
||||
if not activityType then
|
||||
activityType = {
|
||||
[1] = {
|
||||
bg = "ui_fb_btn_jy",
|
||||
name = Language[10331],
|
||||
gameObject = "renjiebaojing" ,
|
||||
},
|
||||
[2] = {
|
||||
bg = "ui_fb_btn_gh",
|
||||
name = Language[10332],
|
||||
gameObject = "fuochanbaojing" ,
|
||||
},
|
||||
[3] = {
|
||||
bg = "ui_fb_btn_sl",
|
||||
name = Language[10333],
|
||||
gameObject = "yaolingbaojing" ,
|
||||
},
|
||||
[4] = {
|
||||
bg = "ui_fb_btn_jq",
|
||||
name = Language[10334],
|
||||
gameObject = "daoxuanbaojing" ,
|
||||
},
|
||||
}
|
||||
end
|
||||
local temp = {...}
|
||||
local temp = temp[1]
|
||||
if index and index >= 0 then
|
||||
this.refreshShow()
|
||||
Timer.New(this.refreshShow, index):Start()
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue