文档

Unity Engine


User Manual

Script Reference

Unity Engine


Unit

Represents a unit type.
阅读时间1 分钟最后更新于 1 个月前

Definition

public Unit Unit { readonly get; set; }

Remarks

Some values have units such as
px
or
dp
. This struct represents the unit type.