When a new component is added to the Scroller it will automatically be placed relative to the component added before it. Where it will be placed is determined by the Scroll Axis setting.
When components are reordered in the hierarchy panel they will automatically change position in the layout.
Name |
Set the name of the Scroller Used to identify Inputs & Outputs in the User Interface Node |
Scroll Axis | Set if the content scrolls horizontally (X) or vertically (Y) |
Spacing | Set the space between components in the layout |
Use Content Width & Height | Set the width or height based on the size of components embedded within it |
Align Content to End | |
Inputs & Outputs | Set what inputs and outputs are visible in the UI Node |
Auto Alignment | Automatically update the Scroller's alignment as it is moved around the canvas to the nearest alignment point |
Alignment | Set the screen region to align the Scroller with |
Width/Height | Set the Width & Height of the Scroller. |
X/Y | Set the X & Y screen position relative to the set alignment point |
Visible | Set the Layout's visibility * Note that invisible components will not be visible during gameplay but will remain visible in the UI Editor canvas |
Transition | Set how the Layout should appear/disappear when it is made visible or invisible |
Use inputs and outputs to send data into or out from your Layout.
Edit which Inputs & Outputs are enabled by tapping the Inputs & Outputs button in the Properties menu and toggling on the inputs you want.
Position X & Y | Input values to adjust the X or Y position of the layout |
Scale | Input values to adjust the scale of the layout |
Opacity | Input values to adjust the opacity of the layout |
Visible | Input values to adjust the visibility of the layout |
Collapse | Adjust the visibility of the layout invisible and adjust position of surrounding components to fill the empty space *Note: Only works if the layout is embedded in a vertical or horizontal layout |
Add Widget | Input a widget to add to the layout |
Remove Widget | Input a widget to remove from the layout |
Scroll to Index | Automatically scroll to a specific component in the Scroller |
Widgets are collections of components that can be added or removed from layouts while your game is running.