文档

Unity Engine

Unity Engine

GridTrackSizeUnit

Unit for a single GridTrackSize sizing value.
阅读时间1 分钟最后更新于 1 个月前

Definition

public enum GridTrackSizeUnit

Fields

Value

Description

AutoThe track is sized automatically from its content.
FractionA flexible fraction (
fr
) of the leftover space.
MaxContentThe largest maximal content contribution of the track's items (
max-content
).
MinContentThe largest minimal content contribution of the track's items (
min-content
).
PercentA percentage of the grid container's corresponding dimension.
PixelA fixed pixel length.