好感度入口调整

dev_chengFeng
jiaoyangna 2021-09-27 09:45:57 +08:00
parent 13428bc854
commit 683e71ae89
1 changed files with 8 additions and 8 deletions

View File

@ -113,12 +113,12 @@ function RoleListPanel:BindEvent()
end)
Util.AddClick(this.haogandu, function()
UIManager.OpenPanel(UIName.LikeAbilityPanel)
-- if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.LikeAbility) then
-- UIManager.OpenPanel(UIName.LikeAbilityPanel, FORMATION_TYPE.SAVE_FORMATION)
-- else
-- PopupTipPanel.ShowTip(ActTimeCtrlManager.GetFuncTip(FUNCTION_OPEN_TYPE.LikeAbility))
-- end
--UIManager.OpenPanel(UIName.LikeAbilityPanel)
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.LikeAbility) then
UIManager.OpenPanel(UIName.LikeAbilityPanel, FORMATION_TYPE.SAVE_FORMATION)
else
PopupTipPanel.ShowTip(ActTimeCtrlManager.GetFuncTip(FUNCTION_OPEN_TYPE.LikeAbility))
end
end)
BindRedPointObject(RedPointType.LikeabilityRed,this.haoganduRed)
end
@ -178,10 +178,10 @@ function RoleListPanel:OnShow()
-- end
-- 刷新一次编队战斗力
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)
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
--组合当前选项数据