This commit is contained in:
puxuan 2025-08-21 17:55:59 +08:00
parent 05f5432826
commit 4d5416c5ce

View File

@ -92,6 +92,7 @@ function ArenaMatchUI:onLoadRootComplete()
self.imgAd = uiMap["arena_match_ui.match_result.btn_rematch.img_ad"]
self.btnFormation = uiMap["arena_match_ui.match_result.btn_formation"]
self.txFormation = uiMap["arena_match_ui.match_result.btn_formation.tx_formation"]
self.spineVS = uiMap["arena_match_ui.match_result.ui_spine_obj"]
self.btnCancel:addClickListener(function()
self:closeUI()
@ -158,9 +159,9 @@ function ArenaMatchUI:showMatchResult()
self.matchResult:setActive(true)
UIManager:setBarsVisible(self, true)
-- self.spineVS:playAnimComplete("born", false, true, function()
-- self.spineVS:playAnim("idle", true, true)
-- end)
self.spineVS:playAnimComplete("born", false, true, function()
self.spineVS:playAnim("idle", true, true)
end)
self.txStart:setText(I18N:getGlobalText(I18N.GlobalConst.TASK_CHALLENGE))
self.txConst:setText(DataManager.ArenaData:getFightCostNum())