Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Justify

Defines the alignment along the main axis, how is extra space distributed.
Read time 1 minuteLast updated 6 days ago

Definition

public enum Justify

Fields

Value

Description

CenterItems are centered along the line.
FlexEndItems are packed toward the end line.
FlexStartItems are packed toward the start line. Default Value.
SpaceAroundItems are evenly distributed in the line with equal space around them. Space on the edge is half of the space between objects.
SpaceBetweenItems are evenly distributed in the line; first item is on the start line, last item on the end line.
SpaceEvenlyItems are evenly distributed in the line with equal space around them.