Component_SpreadLayoutBehavior Class
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.
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.