十绝阵

hotfix/tcx_haizei/cdn_haizeiOnline_ios/1.1.13
PC-202302260912\Administrator 2024-05-30 18:18:12 +08:00
parent a06f708975
commit 615ab6db4a
1 changed files with 1 additions and 1 deletions

View File

@ -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)