Version: 2018.1

LayoutGroup.SetLayoutInputForAxis

Switch to Manual
protected void SetLayoutInputForAxis (float totalMin, float totalPreferred, float totalFlexible, int axis);

Parameters

totalMinThe min size for the layout group.
totalPreferredThe preferred size for the layout group.
totalFlexibleThe flexible size for the layout group.
axisThe axis to set sizes for. 0 is horizontal and 1 is vertical.

Description

Used to set the calculated layout properties for the given axis.