皮肤收集不需要帮助按钮
This commit is contained in:
parent
8f37945b1e
commit
d4aaf40b55
@ -116,7 +116,7 @@ function CollectionCell:showSkin()
|
|||||||
self.imgType:setSprite(GConst.ATLAS_PATH.HERO, "hero_skin_"..self.collectionData.qlt, function()
|
self.imgType:setSprite(GConst.ATLAS_PATH.HERO, "hero_skin_"..self.collectionData.qlt, function()
|
||||||
self.imgType:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_IMAGE):SetNativeSize()
|
self.imgType:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_IMAGE):SetNativeSize()
|
||||||
end)
|
end)
|
||||||
self.txName:setText(ModuleManager.HeroManager:getHeroName(self.collectionData.id))
|
self.txName:setText(DataManager.SkinData:getName(self.collectionData.id))
|
||||||
self.txMax:setText(I18N:getGlobalText(I18N.GlobalConst.BTN_DONE))
|
self.txMax:setText(I18N:getGlobalText(I18N.GlobalConst.BTN_DONE))
|
||||||
|
|
||||||
-- 刷新点数状态
|
-- 刷新点数状态
|
||||||
|
|||||||
@ -186,6 +186,7 @@ end
|
|||||||
function CollectionUI:showHeroCollect()
|
function CollectionUI:showHeroCollect()
|
||||||
self.collectType = GConst.CollectionConst.TYPE.HERO
|
self.collectType = GConst.CollectionConst.TYPE.HERO
|
||||||
|
|
||||||
|
self.btnHelp:setActive(true)
|
||||||
self.selectHero:setActive(true)
|
self.selectHero:setActive(true)
|
||||||
self.selectSkin:setActive(false)
|
self.selectSkin:setActive(false)
|
||||||
self.txTitle:setText(I18N:getGlobalText(I18N.GlobalConst.COLLECTION_DESC_1))
|
self.txTitle:setText(I18N:getGlobalText(I18N.GlobalConst.COLLECTION_DESC_1))
|
||||||
@ -196,6 +197,7 @@ end
|
|||||||
function CollectionUI:showSkinCollect()
|
function CollectionUI:showSkinCollect()
|
||||||
self.collectType = GConst.CollectionConst.TYPE.SKIN
|
self.collectType = GConst.CollectionConst.TYPE.SKIN
|
||||||
|
|
||||||
|
self.btnHelp:setActive(false)
|
||||||
self.selectHero:setActive(false)
|
self.selectHero:setActive(false)
|
||||||
self.selectSkin:setActive(true)
|
self.selectSkin:setActive(true)
|
||||||
self.txTitle:setText(I18N:getGlobalText(I18N.GlobalConst.SKIN_COLLECT))
|
self.txTitle:setText(I18N:getGlobalText(I18N.GlobalConst.SKIN_COLLECT))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user