【命格】提交
parent
181e5dcb63
commit
56aad6a959
|
@ -480,7 +480,7 @@ RectTransform:
|
|||
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: -569, y: 82}
|
||||
m_AnchoredPosition: {x: -500.13126, y: 82}
|
||||
m_SizeDelta: {x: 0, y: 164}
|
||||
m_Pivot: {x: 0, y: 0.5}
|
||||
--- !u!114 &396553229042369324
|
||||
|
@ -9507,7 +9507,7 @@ RectTransform:
|
|||
m_AnchorMax: {x: 1, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 202}
|
||||
m_SizeDelta: {x: 0, y: 164}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
m_Pivot: {x: 0, y: 0.5}
|
||||
--- !u!114 &8980420565915447280
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -23,7 +23,7 @@ function BagPanel:InitComponent()
|
|||
this.spLoader = SpriteLoader.New()
|
||||
|
||||
this.BtnBack = Util.GetGameObject(self.transform, "rightUp/btnBack")
|
||||
this.box = Util.GetGameObject(self.transform, "Grid/box")
|
||||
this.tabBox = Util.GetGameObject(self.transform, "Grid/box")
|
||||
for i = 1, 9 do
|
||||
tabs1[i] = Util.GetGameObject(self.transform, "Grid/box/Btn" .. i)
|
||||
tabs1RedPoint[i] = Util.GetGameObject(self.transform, "Grid/box/Btn" .. i .. "/redPoint")
|
||||
|
@ -661,7 +661,7 @@ function this.SetBottomBarIsActive()
|
|||
num = num + 1
|
||||
end
|
||||
end
|
||||
this.box:GetComponent("RectTransform").pivot = num > 5 and Vector2.New(0.5, 0) or Vector2.New(0.5, 0.5)
|
||||
this.tabBox:GetComponent("RectTransform").pivot = num > 5 and Vector2.New(0, 0.5) or Vector2.New(0.5, 0.5)
|
||||
end
|
||||
|
||||
local orginLayer
|
||||
|
|
Loading…
Reference in New Issue