LayoutGroup.SetLayoutInputForAxis

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

Parameters

totalMin布局组的最小大小。
totalPreferred布局组的首选大小。
totalFlexible布局组的灵活大小。
axis要为其设置尺寸的轴。0 表示水平,1 表示垂直。

Description

用于为给定轴设置计算的布局属性。