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

dev_chengFeng
zhangqiang 2021-01-12 11:19:10 +08:00
parent 5809df035a
commit e90509b0ae
2 changed files with 2 additions and 2 deletions

View File

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

View File

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