C# Class UnityEngine.UI.HorizontalOrVerticalLayoutGroup

Abstract base class for HorizontalLayoutGroup and VerticalLayoutGroup.

Inheritance: LayoutGroup
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes protégées

Méthode Description
CalcAlongAxis ( int axis, bool isVertical ) : void

Calculate the layout element properties for this layout element along the given axis.

HorizontalOrVerticalLayoutGroup ( ) : System
Reset ( ) : void
SetChildrenAlongAxis ( int axis, bool isVertical ) : void

Set the positions and sizes of the child layout elements for the given axis.

Private Methods

Méthode Description
GetChildSizes ( RectTransform child, int axis, bool controlSize, bool childForceExpand, float &min, float &preferred, float &flexible ) : void

Method Details

CalcAlongAxis() protected méthode

Calculate the layout element properties for this layout element along the given axis.

protected CalcAlongAxis ( int axis, bool isVertical ) : void
axis int The axis to calculate for. 0 is horizontal and 1 is vertical.
isVertical bool Is this group a vertical group?
Résultat void

HorizontalOrVerticalLayoutGroup() protected méthode

protected HorizontalOrVerticalLayoutGroup ( ) : System
Résultat System

Reset() protected méthode

protected Reset ( ) : void
Résultat void

SetChildrenAlongAxis() protected méthode

Set the positions and sizes of the child layout elements for the given axis.

protected SetChildrenAlongAxis ( int axis, bool isVertical ) : void
axis int The axis to handle. 0 is horizontal and 1 is vertical.
isVertical bool Is this group a vertical group?
Résultat void