【战斗回放】 强制新手引导屏蔽按钮
parent
ed59466b46
commit
8d5d222639
|
@ -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)
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue