VBoxContainer

new VBoxContainer()

VerticalBoxContainer or VBoxContainer is a container that arranges its children vertically.

Properties
NameTypeDefaultDescription
spacingnumber0

The spacing between the children.

Extends

Members

(readonly) properties

The entity that this component is attached to.

Inherited From

spacing

The spacing between the children.

Methods

Update()

Update all the children's UITransform components. Every time there is a change in the children,or sizes of the container, this method should be called.