【灵兽特惠】
parent
30083c2449
commit
d249f78e8f
File diff suppressed because it is too large
Load Diff
|
@ -1597,7 +1597,7 @@ RectTransform:
|
||||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
m_AnchoredPosition: {x: 0, y: -218}
|
m_AnchoredPosition: {x: 0, y: -218}
|
||||||
m_SizeDelta: {x: 800, y: 802}
|
m_SizeDelta: {x: 852, y: 802}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!222 &5023145414514262656
|
--- !u!222 &5023145414514262656
|
||||||
CanvasRenderer:
|
CanvasRenderer:
|
||||||
|
|
|
@ -22,7 +22,7 @@ function this:InitComponent(gameObject)
|
||||||
local rootHight = this.Scroll.transform.rect.height
|
local rootHight = this.Scroll.transform.rect.height
|
||||||
local width = this.Scroll.transform.rect.width
|
local width = this.Scroll.transform.rect.width
|
||||||
this.ScrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView, this.Scroll.transform,
|
this.ScrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView, this.Scroll.transform,
|
||||||
this.itemPre, nil, Vector2.New(width, rootHight), 1, 2, Vector2.New(0, 0))
|
this.itemPre, nil, Vector2.New(860, rootHight), 1, 2, Vector2.New(0, 0))
|
||||||
this.ScrollView.moveTween.MomentumAmount = 1
|
this.ScrollView.moveTween.MomentumAmount = 1
|
||||||
this.ScrollView.moveTween.Strength = 2
|
this.ScrollView.moveTween.Strength = 2
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue