Update - 1.9.0.107
EN: 1.9.0.107 CN: 1.9.0.108 JP: 1.9.0.112 KR: 1.9.0.112
This commit is contained in:
@@ -9,7 +9,8 @@ CookieLevelGridCtrl._mapNodeConfig = {
|
||||
btnGrid = {sComponentName = "UIButton"}
|
||||
}
|
||||
function CookieLevelGridCtrl:Init(mapData, levelData, bTimeUnlock, bPreLevelUnlock, nIndex)
|
||||
self:SetPngSprite(self._mapNode.imgIcon, AllEnum.CookieModeIcon[mapData.PackModel] or AllEnum.CookieModeIcon[1])
|
||||
local sIconPath = "UI_Activity/_" .. tostring(mapData.ActivityId or 0)
|
||||
self:SetPngSprite(self._mapNode.imgIcon, sIconPath .. AllEnum.CookieModeIcon[mapData.PackModel] or AllEnum.CookieModeIcon[1])
|
||||
NovaAPI.SetTMPText(self._mapNode.txtLevelNumber, nIndex)
|
||||
self._mapNode.imgChoose:SetActive(false)
|
||||
self._mapNode.imgLock:SetActive(not bTimeUnlock)
|
||||
|
||||
Reference in New Issue
Block a user