Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Align

Defines the alignment behavior along an axis.
Read time 1 minuteLast updated 6 days ago

Definition

public enum Align

Fields

Value

Description

AutoLet Flex decide.
CenterItems are centered on the axis.
FlexEndEnd margin of the item is placed at the end of the axis.
FlexStartStart margin of the item is placed at the start of the axis.
StretchDefault. stretch to fill the axis while respecting min/max values.