好感度入口调整
parent
13428bc854
commit
683e71ae89
|
@ -113,12 +113,12 @@ function RoleListPanel:BindEvent()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
Util.AddClick(this.haogandu, function()
|
Util.AddClick(this.haogandu, function()
|
||||||
UIManager.OpenPanel(UIName.LikeAbilityPanel)
|
--UIManager.OpenPanel(UIName.LikeAbilityPanel)
|
||||||
-- if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.LikeAbility) then
|
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.LikeAbility) then
|
||||||
-- UIManager.OpenPanel(UIName.LikeAbilityPanel, FORMATION_TYPE.SAVE_FORMATION)
|
UIManager.OpenPanel(UIName.LikeAbilityPanel, FORMATION_TYPE.SAVE_FORMATION)
|
||||||
-- else
|
else
|
||||||
-- PopupTipPanel.ShowTip(ActTimeCtrlManager.GetFuncTip(FUNCTION_OPEN_TYPE.LikeAbility))
|
PopupTipPanel.ShowTip(ActTimeCtrlManager.GetFuncTip(FUNCTION_OPEN_TYPE.LikeAbility))
|
||||||
-- end
|
end
|
||||||
end)
|
end)
|
||||||
BindRedPointObject(RedPointType.LikeabilityRed,this.haoganduRed)
|
BindRedPointObject(RedPointType.LikeabilityRed,this.haoganduRed)
|
||||||
end
|
end
|
||||||
|
@ -178,10 +178,10 @@ function RoleListPanel:OnShow()
|
||||||
-- end
|
-- end
|
||||||
-- 刷新一次编队战斗力
|
-- 刷新一次编队战斗力
|
||||||
FormationManager.RefreshMainFormationPower()
|
FormationManager.RefreshMainFormationPower()
|
||||||
--this.haogandu.gameObject:SetActive(ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.LikeAbility))
|
this.haogandu.gameObject:SetActive(ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.LikeAbility))
|
||||||
local totalCurNum,totalLv,totalNum = LikabilityManager.GetTotalHeroLikeLv(-1)
|
local totalCurNum,totalLv,totalNum = LikabilityManager.GetTotalHeroLikeLv(-1)
|
||||||
this.haoganduLv.text = totalLv
|
this.haoganduLv.text = totalLv
|
||||||
this.haogandu.gameObject:SetActive(true)--ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.LikeAbility))
|
--this.haogandu.gameObject:SetActive(true)--ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.LikeAbility))
|
||||||
end
|
end
|
||||||
|
|
||||||
--组合当前选项数据
|
--组合当前选项数据
|
||||||
|
|
Loading…
Reference in New Issue