【车迟斗法】战斗后bug

dev_chengFeng
zhangqiang 2021-01-18 15:11:27 +08:00
parent 344ec52500
commit 2d8cf57a08
1 changed files with 4 additions and 4 deletions

View File

@ -147,6 +147,10 @@ function RewardItemPopup:OnOpen(...)
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.btnResultMax:SetActive(haveRecord and args[5])
this.expeditionGo:SetActive(compShowType == 5)
this.guildDeathPos:SetActive(compShowType == 4)
this.guildTranscript:SetActive(compShowType == 6)
this.guildCarDelay:SetActive(compShowType == 3)
-- 设置背景遮罩的显隐
local isHideBG = args[6]
this.btnBack:GetComponent("Image").color = Color.New(0, 0, 0, isHideBG and 0 or 0.8)
@ -160,10 +164,6 @@ function RewardItemPopup:OnOpen(...)
end
return
end
this.expeditionGo:SetActive(compShowType == 5)
this.guildDeathPos:SetActive(compShowType == 4)
this.guildTranscript:SetActive(compShowType == 6)
if compShowType == 4 then
this.GuildDeathPosShow()
end