【战斗回放】 强制新手引导屏蔽按钮

dev_chengFeng
zhangqiang 2021-01-11 19:44:59 +08:00
parent ed59466b46
commit 8d5d222639
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ function BattleFailPopup:OnOpen(battlePanel, showRecord, backPanel,_fightType)
FightPointPassManager.FightBattleEnd()
Util.GetGameObject(this.btnClose, "record"):SetActive(m_showRecord)
Util.GetGameObject(this.btnClose,"tip"):SetActive(not fightType ==12)--副本内无法点击招募
if fightType == BATTLE_TYPE.MAP_FIGHT then--地图
if fightType == BATTLE_TYPE.MAP_FIGHT or GuideManager.IsInMainGuide then--地图
this.btnBattleBack:SetActive(false)
else
this.btnBattleBack:SetActive(true)

View File

@ -145,7 +145,7 @@ function RewardItemPopup:OnOpen(...)
end
local haveRecord = BattleRecordManager.isHaveRecord()
this.btnResult:SetActive(haveRecord and args[5])
this.btnBattleBack:SetActive(haveRecord and args[5] and BattleManager.GetLastBattleType() ~= BATTLE_TYPE.MAP_FIGHT)
this.btnBattleBack:SetActive(haveRecord and args[5] and BattleManager.GetLastBattleType() ~= BATTLE_TYPE.MAP_FIGHT and not GuideManager.IsInMainGuide)
this.btnResultMax:SetActive(haveRecord and args[5])
-- 设置背景遮罩的显隐
local isHideBG = args[6]