轩辕commit
parent
97b10ca124
commit
d423f61e4b
|
|
@ -63,6 +63,7 @@ function this.InitMirrorData()
|
|||
data.state = -1
|
||||
table.insert(this.levelData[v.Type].data,data)
|
||||
end
|
||||
LogBlue("this.levelData:"..LengthOfTable(this.levelData))
|
||||
end
|
||||
|
||||
function this.CarbonRedCheck()
|
||||
|
|
@ -200,7 +201,9 @@ function this.GetMirroData(_type)
|
|||
end
|
||||
|
||||
function this.GetMirrorState(_type)
|
||||
LogBlue(tostring(not not this.levelData[_type]).." ".._type )
|
||||
if this.levelData[_type] then
|
||||
LogBlue( this.levelData[_type].state.." ".._type)
|
||||
return this.levelData[_type].state
|
||||
end
|
||||
return 0
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ this.UpdateCarbonContent = function(...)
|
|||
Util.GetGameObject(go, "titileBg/Text"):GetComponent("Text").text =v.name
|
||||
local state = XuanYuanMirrorManager.GetMirrorState(k) == 1
|
||||
LogGreen(k.." 宝镜state:"..state)
|
||||
if not state then
|
||||
if not state or state == 0 then
|
||||
local timeStr = this:GetOpenTime(k)
|
||||
Util.GetGameObject(go, "timeBg/Text"):GetComponent("Text").text = timeStr..Language[10357]
|
||||
Util.GetGameObject(go, "redPoint").gameObject:SetActive(false)
|
||||
|
|
|
|||
Loading…
Reference in New Issue