竞技场引导容错
This commit is contained in:
parent
460a60a34f
commit
351b8adb9e
@ -94,6 +94,11 @@ function ArenaMatchUI:onLoadRootComplete()
|
||||
self.btnFormation = uiMap["arena_match_ui.match_result.btn_formation"]
|
||||
self.txFormation = uiMap["arena_match_ui.match_result.btn_formation.tx_formation"]
|
||||
|
||||
if DataManager.TutorialData:getIsInTutorial() then -- 容错
|
||||
self.btnCancel:setTouchEnable(false)
|
||||
else
|
||||
self.btnCancel:setTouchEnable(true)
|
||||
end
|
||||
self.btnCancel:addClickListener(function()
|
||||
self:closeUI()
|
||||
end)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user