Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

LayoutGroup.SetLayoutInputForAxis

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.

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