UGUI Scroll Rect slide list details

First-come, first wrote a simple point.

For Unity3D developers, sliding considered a list of the more common functions, but some details of what is sometimes very vague.

1, Unity version 2017.3.0

2, hierarchy and preview


3, set up

Grid formation


Content Size Fitter byte point with action is automatic adaptation of the size of the increase or decrease

Scroll Rect formation


4, minutiae

This list is slidable up and down, so that when adding the following sub-Grid node, such that the top of the Grid position does not move, turn down the node increases, the value of Y can be set to the center of Pivot Grid 1



So ok

Published 13 original articles · won praise 4 · views 10000 +

Guess you like

Origin blog.csdn.net/YasinXin/article/details/79653679