Update - 1.12.0.120
EN: 1.12.0.120 CN: 1.12.0.120 JP: 1.12.0.124 KR: 1.12.0.124
This commit is contained in:
@@ -15,6 +15,7 @@ LevelMenuResourceCtrl._mapNodeConfig = {
|
||||
},
|
||||
LockEquipment = {},
|
||||
TMPCondEquipment = {sComponentName = "TMP_Text"},
|
||||
imgEquipmentDoubleDrop = {},
|
||||
btnSkill = {
|
||||
sComponentName = "UIButton",
|
||||
callback = "OnBtnClick_Skill"
|
||||
@@ -29,6 +30,7 @@ LevelMenuResourceCtrl._mapNodeConfig = {
|
||||
},
|
||||
LockSkill = {},
|
||||
TMPCondSkill = {sComponentName = "TMP_Text"},
|
||||
imgSkillDoubleDrop = {},
|
||||
btnRegion = {
|
||||
sComponentName = "UIButton",
|
||||
callback = "OnBtnClick_RogueBoss"
|
||||
@@ -44,6 +46,7 @@ LevelMenuResourceCtrl._mapNodeConfig = {
|
||||
LockRegion = {},
|
||||
TMPCondRegion = {sComponentName = "TMP_Text"},
|
||||
redDotRegion = {},
|
||||
imgRegionDoubleDrop = {},
|
||||
btnTimes = {
|
||||
sComponentName = "UIButton",
|
||||
callback = "OnBtnClick_DailyInstance"
|
||||
@@ -58,6 +61,7 @@ LevelMenuResourceCtrl._mapNodeConfig = {
|
||||
},
|
||||
LockTimes = {},
|
||||
TMPCondTimes = {sComponentName = "TMP_Text"},
|
||||
imgTimesDoubleDrop = {},
|
||||
rtEnergyBarFill = {
|
||||
sComponentName = "RectTransform"
|
||||
},
|
||||
@@ -129,6 +133,16 @@ function LevelMenuResourceCtrl:RefreshFuncOpen()
|
||||
self._mapNode.LockEquipment:SetActive(false)
|
||||
end
|
||||
end
|
||||
function LevelMenuResourceCtrl:RefreshDropUp(actData)
|
||||
local tbDoubleType = {}
|
||||
if actData ~= nil then
|
||||
tbDoubleType = actData:GetDoubleFuncType()
|
||||
end
|
||||
self._mapNode.imgTimesDoubleDrop.gameObject:SetActive(table.indexof(tbDoubleType, GameEnum.OpenFuncType.DailyInstance) > 0)
|
||||
self._mapNode.imgRegionDoubleDrop.gameObject:SetActive(0 < table.indexof(tbDoubleType, GameEnum.OpenFuncType.RegionBoss))
|
||||
self._mapNode.imgSkillDoubleDrop.gameObject:SetActive(0 < table.indexof(tbDoubleType, GameEnum.OpenFuncType.SkillInstance))
|
||||
self._mapNode.imgEquipmentDoubleDrop.gameObject:SetActive(0 < table.indexof(tbDoubleType, GameEnum.OpenFuncType.CharGemInstance))
|
||||
end
|
||||
function LevelMenuResourceCtrl:Awake()
|
||||
self:RefreshChooseImg(0)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user