多语言
This commit is contained in:
parent
3cd1b81e8f
commit
b6d66aa8be
@ -17,10 +17,10 @@ function ChapterCell:refresh(id)
|
||||
end
|
||||
|
||||
local farmNode = uiMap["chapter_cell.touch_node.farm_node"]
|
||||
uiMap["chapter_cell.touch_node.farm_node.desc"]:setText(I18N:getGlobalText(I18N.GlobalConst.SMASH))
|
||||
local farmTx = uiMap["chapter_cell.touch_node.farm_node.desc"]
|
||||
farmTx:setText(I18N:getGlobalText(I18N.GlobalConst.SMASH))
|
||||
local chapterNode = uiMap["chapter_cell.touch_node.chapter_node"]
|
||||
uiMap["chapter_cell.touch_node.chapter_node.desc"]:setText(config.chapter .. "-" .. config.stage)
|
||||
local bottomBg = uiMap["chapter_cell.touch_node.bottom_bg"]
|
||||
|
||||
local starNode = uiMap["chapter_cell.touch_node.star_node"]
|
||||
if not self.hStars then
|
||||
@ -41,6 +41,7 @@ function ChapterCell:refresh(id)
|
||||
spineNode:setVisible(false)
|
||||
if armorData:canFarmChapter(id) then -- 可扫荡
|
||||
farmNode:setVisible(true)
|
||||
farmNode:setSizeDeltaX(farmTx:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO).preferredWidth + 25)
|
||||
chapterNode:setAnchoredPositionY(43)
|
||||
starNode:setVisible(true)
|
||||
for index, node in ipairs(self.hStars) do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user