巅峰赛 帮助修改

(cherry picked from commit 03a22d27a5fcf6baf17746cd3eeba878eb9dda80)
dev_chengFeng
jiaoyangna 2020-12-18 17:35:07 +08:00 committed by ZhangBiao
parent 7d217556af
commit 81373217b0
2 changed files with 6 additions and 2 deletions

View File

@ -945,7 +945,7 @@ function this.GetIsBattleEndState(type)
return false
end
end
--屏幕索引 没啥用了
--有用,用来显示帮助内容
function this.SetCurTabIndex(index)
this.CurTabIndex = index
end

View File

@ -25,7 +25,11 @@ end
--绑定事件(用于子类重写)
function ATM_Title:BindEvent()
Util.AddClick(this.btnHelp, function ()
UIManager.OpenPanel(UIName.HelpPopup, HELP_TYPE.TopMatch, this.helpPosition.x, this.helpPosition.y)
if ArenaTopMatchManager.GetCurTabIndex() == 2 then
UIManager.OpenPanel(UIName.HelpPopup, HELP_TYPE.ArenaGuess, this.helpPosition.x, this.helpPosition.y)
else
UIManager.OpenPanel(UIName.HelpPopup, HELP_TYPE.TopMatch, this.helpPosition.x, this.helpPosition.y)
end
end)
end