imported>Xekri No edit summary |
m ProbablePrime moved page ScrollRect (Component) to Component:ScrollRect: Creating component Namespace |
(No difference)
|
Revision as of 06:34, 20 January 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Intoduction
ScrollRect is a component for making a child with a RectTransform scroll.
ScrollRect will not do any clipping on its own. If it is a child of an object with a Mask component, it effectively becomes a window into the scrolled content.
Usage
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. |
NormalizedPosition
|
Float2 | The scroll position between (0,0) and (1,1) with (0,0) being the lower left corner. |
HorizontalAlign
|
LayoutHorizontalAlignment | |
VerticalAlign
|
LayoutVerticalAlignment | |
ViewportOverride
|
RectTransform | |
__legacyContent
|
RectTransform |