【灵兽特惠】

dev_chengFeng
zhangqiang 2021-03-04 21:22:02 +08:00
parent 30083c2449
commit d249f78e8f
3 changed files with 51 additions and 1216 deletions

View File

@ -1597,7 +1597,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
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}
--- !u!222 &5023145414514262656
CanvasRenderer:

View File

@ -22,7 +22,7 @@ function this:InitComponent(gameObject)
local rootHight = this.Scroll.transform.rect.height
local width = this.Scroll.transform.rect.width
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.Strength = 2
end