变身卡不能实时开启修改
parent
33240b5b1a
commit
44f1890c97
|
@ -210,7 +210,7 @@ function IncarnationPanel:RefreshUpList()
|
||||||
for i = 1,4 do
|
for i = 1,4 do
|
||||||
self.upLayoutItemList[i].pos.gameObject:SetActive(false)
|
self.upLayoutItemList[i].pos.gameObject:SetActive(false)
|
||||||
self.upLayoutItemList[i].btn.gameObject:SetActive(false)
|
self.upLayoutItemList[i].btn.gameObject:SetActive(false)
|
||||||
self.upLayoutItemList[i].lv.gameObject:SetActive(curLevel<tonumber(limits[i]))
|
self.upLayoutItemList[i].lv.gameObject:SetActive(PracticeManager.PracticeLevel<tonumber(limits[i]))
|
||||||
--local xiuxian=ConfigManager.GetConfigData(ConfigName.XiuXianConfig,tonumber(limits[i]))
|
--local xiuxian=ConfigManager.GetConfigData(ConfigName.XiuXianConfig,tonumber(limits[i]))
|
||||||
if xiuxian then
|
if xiuxian then
|
||||||
self.upLayoutItemList[i].lv.text=xiuxian[tonumber(limits[i])].RealmName.."期解锁"
|
self.upLayoutItemList[i].lv.text=xiuxian[tonumber(limits[i])].RealmName.."期解锁"
|
||||||
|
@ -365,8 +365,8 @@ function IncarnationPanel:SetSingleData(go,data,index)
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
--LogError("curLevel==="..curLevel.." limits[pos]==="..limits[pos].."PracticeManager.PracticeLevel=="..PracticeManager.PracticeLevel)
|
||||||
if curLevel<tonumber(limits[pos]) then
|
if PracticeManager.PracticeLevel<tonumber(limits[pos]) then
|
||||||
PopupTipPanel.ShowTip(xiuxian[tonumber(limits[pos])].RealmName.."期解锁")
|
PopupTipPanel.ShowTip(xiuxian[tonumber(limits[pos])].RealmName.."期解锁")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue