기술 자료

Unity Engine

Unity Engine

GridAutoFlow

Controls how the auto-placement algorithm works for a CSS Grid container, specifying exactly how auto-placed items get flowed into the grid.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public enum GridAutoFlow

Remarks

It only takes effect on an element with DisplayStyle.Grid.

Fields

Value

Description

ColumnItems are placed by filling each column in turn, adding new columns as necessary.
ColumnDenseLike GridAutoFlow.Column, but uses a dense packing algorithm that fills holes earlier in the grid.
RowItems are placed by filling each row in turn, adding new rows as necessary. This is the default.
RowDenseLike GridAutoFlow.Row, but uses a dense packing algorithm that fills holes earlier in the grid.