Unity - ScrollView

From NoskeWiki
Jump to navigation Jump to search

About

NOTE: This page is a daughter page of: Unity


Unity3D is a multi-platform 3D game engine. This page is incomplete.


This represents a page the author has not finished yet, but hopefully will finish soon! As a wiki I can't guarantee the accuracy on any of these pages, but pages with this logo I can almost certainly guarantee DO contain errors and/or big omissions.


Scroll View

This might help setup a scroll view:

ScrollView.
  stretch,stretch  l:0, t:0, r:0 b:0, q:0
  anchors:         mins: 0,1 


Prefabs.
 MyButton.
   Rect:         0 x 0 x 0
   Width/Height  800 x 120
   Anchors:      mins: 0,1   maxs: 0,1  pivots: 0,1
 Layout Element
   Min Height:       yes, 120
   Flexible Width:   yes, 1
   Layout Priority: 1


Links