Show / Hide Table of Contents

Method CreateScrollView

| Edit this page View Source

CreateScrollView(Transform, bool, bool, float, float, ColorBlock, Color, float, float)

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
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾