修复引导急速探索报错的问题

dev_chengFeng
gaoxin 2020-09-07 15:26:37 +08:00
parent 5a917b1374
commit a46ee1c52c
3 changed files with 17 additions and 17 deletions

View File

@ -267,7 +267,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 441, y: 0.000030517578}
m_AnchoredPosition: {x: 441, y: 0.000015258789}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &764029605
@ -725,7 +725,6 @@ RectTransform:
- {fileID: 224502265043366100}
- {fileID: 224416896721062188}
- {fileID: 224266054869816714}
- {fileID: 224829722751050762}
- {fileID: 224190317783584220}
- {fileID: 224143234364797586}
- {fileID: 5583254372299283253}
@ -1018,7 +1017,7 @@ RectTransform:
m_Children:
- {fileID: 224612920144669484}
m_Father: {fileID: 224665127863931030}
m_RootOrder: 4
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@ -1166,7 +1165,7 @@ RectTransform:
m_LocalScale: {x: 0.58, y: 0.58, z: 0.58}
m_Children: []
m_Father: {fileID: 224665127863931030}
m_RootOrder: 7
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@ -1322,12 +1321,12 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 224665127863931030}
m_RootOrder: 3
m_Father: {fileID: 2609889525416484931}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 2, y: -504.99997}
m_AnchoredPosition: {x: 1.1801529, y: 83.4}
m_SizeDelta: {x: 348, y: 44}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &222303224665697482
@ -1432,7 +1431,7 @@ RectTransform:
m_Children:
- {fileID: 224311569589795904}
m_Father: {fileID: 224665127863931030}
m_RootOrder: 5
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@ -11089,7 +11088,7 @@ RectTransform:
- {fileID: 471105427101296712}
- {fileID: 471503146357997718}
m_Father: {fileID: 224665127863931030}
m_RootOrder: 8
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
@ -67972,7 +67971,8 @@ RectTransform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Children:
- {fileID: 224829722751050762}
m_Father: {fileID: 224377073835667412}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -68160,7 +68160,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 441, y: 0.000030517578}
m_AnchoredPosition: {x: 441, y: 0.000061035156}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3234776055937844155
@ -82675,7 +82675,7 @@ RectTransform:
- {fileID: 8128104725208682281}
- {fileID: 3587127174153274449}
m_Father: {fileID: 224665127863931030}
m_RootOrder: 6
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}

View File

@ -52,9 +52,9 @@ local update = function()
-- local ft = UIManager.width/UIManager.height
-- local rw = ft * 1920
Log(UIManager.UIWidth.."|"..UIManager.UIHeight)
Log(UIManager.width.."|"..UIManager.height)
Log(Input.mousePosition.x.."|"..Input.mousePosition.y)
-- Log(UIManager.UIWidth.."|"..UIManager.UIHeight)
-- Log(UIManager.width.."|"..UIManager.height)
-- Log(Input.mousePosition.x.."|"..Input.mousePosition.y)
local wf = UIManager.UIWidth/1080
local hf = UIManager.UIHeight/1920

View File

@ -140,9 +140,9 @@ function this.ExecuteBehavior(beType, beArgs)
if curGuideId == curId then
this.NextGuide()
end
this.button:GetComponent("Button").onClick:RemoveAllListeners()
Util.AddClick(this.button, this.NextGuide)
end)
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按钮位置可能会超框所以做位移处理
for k, v in pairs(MainPanel.operateIcon) do