Version: 2019.2

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.