无尽副本修改提交
parent
7779c1dbb1
commit
a9b52e6834
|
@ -684,7 +684,7 @@ MonoBehaviour:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
|
||||||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||||
m_Sprite: {fileID: 21300000, guid: d7dd1cf3a6c679649b6c1e170565acf6, type: 3}
|
m_Sprite: {fileID: 21300000, guid: 3e841952f1989d54197a27b3341467d6, type: 3}
|
||||||
m_Type: 0
|
m_Type: 0
|
||||||
m_PreserveAspect: 0
|
m_PreserveAspect: 0
|
||||||
m_FillCenter: 1
|
m_FillCenter: 1
|
||||||
|
|
|
@ -213,6 +213,25 @@ function EndLessMapView:BindEvent()
|
||||||
EndLessMapManager.openedFormat = true
|
EndLessMapManager.openedFormat = true
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
Util.AddClick(this.TargetRoot, function ()
|
||||||
|
if ctrlView.GetCallListCount() > 1 then
|
||||||
|
PopupTipPanel.ShowTip(Language[11259])
|
||||||
|
return
|
||||||
|
end
|
||||||
|
if not this:CanClick() then return end
|
||||||
|
MonsterCampManager.preType = 2
|
||||||
|
UIManager.OpenPanel(UIName.TrialRewardPopup,EndLessMapManager.SetRewardData(),function(id,rewardFunc)
|
||||||
|
NetManager.TakeMissionRewardRequest(TaskTypeDef.wujinfuben,id,function (msg)
|
||||||
|
UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1,function()
|
||||||
|
this:RefreshTargetRoote()
|
||||||
|
if rewardFunc then
|
||||||
|
rewardFunc()
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
end)
|
||||||
|
end,1)
|
||||||
|
end)
|
||||||
BindRedPointObject(RedPointType.wujinMission,this.btnNoteRed)
|
BindRedPointObject(RedPointType.wujinMission,this.btnNoteRed)
|
||||||
Util.AddClick(this.btnNote, function ()
|
Util.AddClick(this.btnNote, function ()
|
||||||
if this.curMission.state == 1 then
|
if this.curMission.state == 1 then
|
||||||
|
@ -389,14 +408,14 @@ function EndLessMapView:RefreshTargetRoote()
|
||||||
if this.curMission.state == 2 then
|
if this.curMission.state == 2 then
|
||||||
this.TargetBtn1.gameObject:SetActive(true) --未完成
|
this.TargetBtn1.gameObject:SetActive(true) --未完成
|
||||||
this.TargetBtn2.gameObject:SetActive(false) --以达成
|
this.TargetBtn2.gameObject:SetActive(false) --以达成
|
||||||
this.TargetRootText.text = string.format("%s<color=#55c688>(%s/%s)</color>",this.curMission.Desc,this.curMission.progress,this.curMission.value)
|
this.TargetRootText.text = string.format("%s<color=#FFFFFF>(%s/%s)</color>",this.curMission.Desc,this.curMission.progress,this.curMission.value)
|
||||||
else
|
else
|
||||||
this.TargetBtn1.gameObject:SetActive(false)
|
this.TargetBtn1.gameObject:SetActive(false)
|
||||||
this.TargetBtn2.gameObject:SetActive(true)
|
this.TargetBtn2.gameObject:SetActive(true)
|
||||||
if this.curMission.index == #EndLessMapManager.mission and this.curMission.state == 0 then
|
if this.curMission.index == #EndLessMapManager.mission and this.curMission.state == 0 then
|
||||||
this.TargetRootText.text = "已完成全部任务"
|
this.TargetRootText.text = "已完成全部任务"
|
||||||
else
|
else
|
||||||
this.TargetRootText.text = string.format("%s<color=#FFFFFF>(%s/%s)</color>",this.curMission.Desc,this.curMission.value,this.curMission.value)
|
this.TargetRootText.text = string.format("%s<color=#55c688>(%s/%s)</color>",this.curMission.Desc,this.curMission.value,this.curMission.value)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -33,7 +33,7 @@ function EndLessTreasurePanel:BindEvent()
|
||||||
self:ClosePanel()
|
self:ClosePanel()
|
||||||
end)
|
end)
|
||||||
Util.AddClick(self.quesBtn,function()
|
Util.AddClick(self.quesBtn,function()
|
||||||
UIManager.OpenPanel(UIName.HelpPopup,1,self.helpPosition.x,self.helpPosition.y)
|
UIManager.OpenPanel(UIName.HelpPopup,93,self.helpPosition.x,self.helpPosition.y)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue