HorizontalOrVerticalLayoutGroup.SetChildrenAlongAxis

protected void SetChildrenAlongAxis(int axis, bool isVertical);

Parameters

axisThe axis to handle. 0 is horizontal and 1 is vertical.
isVerticalIs this group a vertical group?

Description

Set the positions and sizes of the child layout elements for the given axis.

Did you find this page useful? Please give it a rating: