【缥缈之旅】提交8

dev_chengFeng
zhangqiang 2021-07-05 15:04:46 +08:00
parent 56d0cce1e4
commit 73a4eee31b
1 changed files with 7 additions and 1 deletions

View File

@ -392,7 +392,13 @@ function this.RefreshJourneyWithWindShow()
end
end
function this.JourneyWithWindBtnAutoClose()
this.btnJourneyWithWind:SetActive(false)
local idJourneyWithWind = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.JourneyWithWind)
if idJourneyWithWind and idJourneyWithWind > 0 then
this.btnJourneyWithWind:SetActive(true)
this.RefreshJourneyWithWindShow()
else
this.btnJourneyWithWind:SetActive(false)
end
end
--界面关闭时调用(用于子类重写)
function InvadeMonsterView:OnClose()