|
Improve this Doc
View Source
Create a complete scroll view
Declaration
public GameObject CreateScrollView(Transform parent, bool showHorizontalScrollbar, bool showVerticalScrollbar, float handleSize, float handleDistanceToBorder, ColorBlock handleColors, Color slidingAreaBackgroundColor, float width, float height)
Parameters
Type |
Name |
Description |
Transform |
parent |
parent transform |
bool |
showHorizontalScrollbar |
show horizontal scrollbar |
bool |
showVerticalScrollbar |
show vertical scrollbar |
float |
handleSize |
size of the handle |
float |
handleDistanceToBorder |
|
ColorBlock |
handleColors |
Colorblock for the handle |
Color |
slidingAreaBackgroundColor |
Background color for the sliding area |
float |
width |
rect width |
float |
height |
rect height |
Returns
Type |
Description |
GameObject |
|