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

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

LayoutGroup.GetTotalMinSize

protected float GetTotalMinSize(int axis);

Parameters

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

Returns

float The min size.

Description

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