API Docs for:
Show:

Component_SpreadLayoutBehavior Class

Module: gs

Turns a game object into a spread-layout and spreads all sub-objects evenly over the layout-space vertically or horizontally. The game object needs a container-component.

Item Index

Properties

Methods

layoutHorizontal

()

Spreads all sub-objects evenly over the layout-space horizontally.

layoutHorizontal

()

Spreads all sub-objects evenly over the layout-space vertically.

update

()

Updates the spread-layout.

Properties

orientation

gs.Orientation.

The orientation of the spread-layout.