十绝阵
parent
a06f708975
commit
615ab6db4a
|
@ -14,7 +14,7 @@ function DeathPosRewardPopup:InitComponent()
|
|||
this.scroll=Util.GetGameObject(this.panel,"Scroll")
|
||||
this.pre=Util.GetGameObject(this.scroll,"Pre")
|
||||
this.scrollView=SubUIManager.Open(SubUIConfig.ScrollCycleView,this.scroll.transform,
|
||||
this.pre,nil,Vector2.New(this.scroll.transform.rect.width,this.scroll.transform.rect.height),1,3,Vector2.New(10,5))--生成滚动条,设置属性
|
||||
this.pre,nil,Vector2.New(this.scroll.transform.rect.width,this.scroll.transform.rect.height),1,3,Vector2.New(70,10))--生成滚动条,设置属性
|
||||
--设置滚动条
|
||||
this.scrollView.gameObject:GetComponent("RectTransform").anchoredPosition= Vector2.New(0,0)
|
||||
this.scrollView.gameObject:GetComponent("RectTransform").anchorMin = Vector2.New(0.5, 0.5)
|
||||
|
|
Loading…
Reference in New Issue