Update - 2.1.0.147
EN: 2.1.0.147 CN: 2.1.0.147 JP: 2.1.0.149 KR: 2.1.0.154
This commit is contained in:
@@ -30,6 +30,8 @@ function ActivityLevelsLvCtrl:InitData(parent, nType, activityData, data, isOpen
|
||||
self._mapNode.rtLockInfoDay.gameObject:SetActive(false)
|
||||
self.isShowTexLv = false
|
||||
self.isOpen = isOpen
|
||||
local selectDb = self._mapNode.Select.transform:Find("imgDb").gameObject
|
||||
local unSelectDb = self._mapNode.unSelect.transform:Find("imgDb").gameObject
|
||||
if isOpen and isLevelUnLock then
|
||||
self.isShowTexLv = true
|
||||
self._mapNode.rt_Targets:SetActive(true)
|
||||
@@ -73,6 +75,8 @@ function ActivityLevelsLvCtrl:InitData(parent, nType, activityData, data, isOpen
|
||||
end
|
||||
self.lvLock = true
|
||||
end
|
||||
selectDb:SetActive(not self.lvLock)
|
||||
unSelectDb:SetActive(not self.lvLock)
|
||||
local strTitle = ""
|
||||
if nType == GameEnum.ActivityLevelType.Explore then
|
||||
strTitle = orderedFormat(lvIndexTitle, 1, data.baseData.Difficulty)
|
||||
@@ -130,11 +134,12 @@ function ActivityLevelsLvCtrl:SetDefault(isOn)
|
||||
NovaAPI.SetImageColor(self._mapNode.rtLockInfoDay, colorLockUnSelectImage)
|
||||
NovaAPI.SetImageColor(self._mapNode.rtLockPreLvSelect, colorLockUnSelectImage)
|
||||
end
|
||||
if not self.isOpen then
|
||||
self._mapNode.imgLockMask:SetActive(not isOn)
|
||||
end
|
||||
if isOn then
|
||||
self._mapNode.SelectAni:Play("Select_idle")
|
||||
if self.isOpen then
|
||||
self._mapNode.SelectAni:Play("Select_idle")
|
||||
else
|
||||
self._mapNode.SelectAni:Play("Select_idle_lock")
|
||||
end
|
||||
else
|
||||
self._mapNode.SelectAni.enabled = false
|
||||
self._mapNode.SelectAni.enabled = true
|
||||
|
||||
@@ -19,8 +19,8 @@ local colorUnSelectLock = Color(0.4823529411764706, 0.5333333333333333, 0.650980
|
||||
local timeUnLockColor = "fff7ca"
|
||||
local colorLockSelectImage = Color(0.984313725490196, 0.9333333333333333, 0.8784313725490196, 1)
|
||||
local colorLockUnSelectImage = Color(0.24705882352941178, 0.19215686274509805, 0.19215686274509805, 1)
|
||||
local colorConditionsUnLock = Color(0.6509803921568628, 0.5647058823529412, 0.5647058823529412, 1)
|
||||
local colorConditionsLock = Color(0.6509803921568628, 0.5647058823529412, 0.5647058823529412, 1)
|
||||
local colorConditionsUnLock = Color(0.9607843137254902, 0.9137254901960784, 0.8156862745098039, 1)
|
||||
local colorConditionsLock = Color(0.9607843137254902, 0.9137254901960784, 0.8156862745098039, 1)
|
||||
local lvIndexTitle = "{0}-{1}"
|
||||
local twelveLvGroupPadding = {
|
||||
44,
|
||||
|
||||
Reference in New Issue
Block a user