xuanyaun commit

zhangqiang 2020-09-16 18:54:48 +08:00
parent d423f61e4b
commit b00d112660
1 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ this.UpdateCarbonContent = function(...)
go:GetComponent("Image").sprite = Util.LoadSprite(v.bg)
Util.GetGameObject(go, "titileBg/Text"):GetComponent("Text").text =v.name
local state = XuanYuanMirrorManager.GetMirrorState(k) == 1
LogGreen(k.." 宝镜state:"..state)
LogGreen(k.." 宝镜state:"..XuanYuanMirrorManager.GetMirrorState(k))
if not state or state == 0 then
local timeStr = this:GetOpenTime(k)
Util.GetGameObject(go, "timeBg/Text"):GetComponent("Text").text = timeStr..Language[10357]
@ -149,7 +149,7 @@ this.UpdateCarbonContent = function(...)
Util.SetGray(go,not state)
Util.AddOnceClick(go ,function()
if state then
LogBlue("宝镜状态:"..type[k].name..state)
LogBlue("宝镜状态:"..type[k].name..XuanYuanMirrorManager.GetMirrorState(k))
UIManager.OpenPanel(UIName.XuanYuanMirrorPanelList,k)
else
LogBlue("宝镜未开启提示:"..type[k].name..Language[12306])