【功能引导】幸运探宝开启,界面不会自动切换到幸运探宝入口
parent
ce89a20050
commit
731715ed35
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue