Major Update - 2.0.0.143
EN: 2.0.0.143 CN: 2.0.0.142 JP: 2.0.0.145 KR: 2.0.0.150
This commit is contained in:
@@ -41,4 +41,10 @@ end
|
||||
function TemplateHeadCtrl:_SwitchType(enumType)
|
||||
self._mapNode.Monster:SetActive(enumType == HeadType.Monster)
|
||||
end
|
||||
function TemplateHeadCtrl:SetCharHead(nSkinId)
|
||||
local mapSkinCfg = ConfigTable.GetData("CharacterSkin", nSkinId)
|
||||
if mapSkinCfg ~= nil then
|
||||
self:SetPngSprite(self._mapNode.imgIcon, mapSkinCfg.Icon .. AllEnum.CharHeadIconSurfix.XXL)
|
||||
end
|
||||
end
|
||||
return TemplateHeadCtrl
|
||||
|
||||
Reference in New Issue
Block a user