文档

Unity Engine

Unity Engine

Length

Creates from a float and an optional LengthUnit.
阅读时间1 分钟最后更新于 1 个月前

Definition

Length(float)

Creates from a float and an optional LengthUnit.
public Length(float value)

Parameters

value

Remarks

LengthUnit.Pixel is the default unit.

Length(float, LengthUnit)

Creates from a float and an optional LengthUnit.
public Length(float value, LengthUnit unit)

Parameters

Remarks

LengthUnit.Pixel is the default unit.