竞技场暂停界面可滑动

This commit is contained in:
xiekaidong 2023-07-07 11:43:53 +08:00
parent a34edc2fd7
commit b6171cef38

View File

@ -109,7 +109,10 @@ function BattleArenaPauseUI:showArenaTips()
nextBtn:setActive(false)
lastBtn:setAnchoredPositionX(0)
end
uiMap["battle_arena_pause_ui.skill_node.desc"]:setText(str)
local descObj = uiMap["battle_arena_pause_ui.skill_node.desc"]
descObj:setText(str)
descObj:setSizeDeltaY(descObj:getComponent(GConst.TYPEOF_UNITY_CLASS.UI_TEXT_MESH_PRO).preferredHeight)
descObj:setAnchoredPositionY(0)
self.videoNode:setVisible(true)
end