Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

LayoutGroup.GetTotalFlexibleSize

protected float GetTotalFlexibleSize(int axis);

Parameters

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

Returns

float The flexible size.

Description

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

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答