PC-202302260912\Administrator 2024-11-13 14:31:41 +08:00
parent 8cdea0c7fd
commit 560050ddb2
2 changed files with 3 additions and 2 deletions

View File

@ -265,7 +265,7 @@ function FightPointPassMainPanel:InitComponent()
this.OpenSeverWelfareProgressText = Util.GetGameObject(this.OpenSeverWelfare, "progressBg/progress"):GetComponent(
"Text")
this.OpenSeverWelfareProgressImage = Util.GetGameObject(this.OpenSeverWelfare, "progressBg/progressImage")
:GetComponent("Image")
:GetComponent("Slider")
this.OpenSeverWelfareTimeText = Util.GetGameObject(this.OpenSeverWelfare, "time"):GetComponent("Text")
this.OpenSeverWelfareTimeText.gameObject:SetActive(false)
this.OpenSeverWelfareInfoText = Util.GetGameObject(this.OpenSeverWelfare, "info"):GetComponent("Text")
@ -1265,7 +1265,7 @@ function this.UpdateOpenSeverWelfare()
end
curPassLevelSortId = curPassLevelSortId >= getRewardLevelSortId and getRewardLevelSortId or curPassLevelSortId
this.OpenSeverWelfareProgressText.text = curPassLevelSortId .. "/" .. getRewardLevelSortId
this.OpenSeverWelfareProgressImage.fillAmount = curPassLevelSortId / getRewardLevelSortId
this.OpenSeverWelfareProgressImage.value = curPassLevelSortId / getRewardLevelSortId
this.OpenSeverWelfareInfoText.text = GetLanguageStrById(curMissionConfig.ContentsShow)
--this.RemainTimeDown(this.btnOpenSeverWelfare,this.OpenSeverWelfareTimeText,activityData.endTime - GetTimeStamp())
else

View File

@ -1703,6 +1703,7 @@ function this:OnClose()
end
function this:Dispose()
LogError("rrrrrrrrrrrrrrrrrrrrrrrrrrrr")
isFindEnemy = false
isPlay = false
this:ClearDelayFunc()