【功能引导】幸运探宝开启,界面不会自动切换到幸运探宝入口

dev_chengFeng
zhangqiang 2021-07-23 13:43:34 +08:00
parent ce89a20050
commit 731715ed35
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ function this.ExecuteBehavior(beType, beArgs)
this.button:GetComponent("Button").onClick:RemoveAllListeners()
Util.AddClick(this.button, this.NextGuide)
end)
if UIManager.IsOpen(UIName.MainPanel) and string.find(btn.transform.parent.name, "layer") ~= nil then --主界面的ui按钮位置可能会超框所以做位移处理
if UIManager.IsOpen(UIName.MainPanel) and (string.find(btn.transform.parent.name, "layer") ~= nil or btn.transform.name == "btnXingYunTanBao") then --主界面的ui按钮位置可能会超框所以做位移处理
for k, v in pairs(MainPanel.operateIcon) do
if v.go == btn.gameObject then
MainPanel:SetPosFunc(Vector2.New(v.pos, 0))