LayoutGroup.GetTotalPreferredSize

protected float GetTotalPreferredSize(int axis);

Parameters

axisThe axis index. 0 is horizontal and 1 is vertical.

Returns

float The preferred size.

Description

The preferred size for the layout group on the given axis.

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