Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StyleLength

Creates the Length with the value v in LengthUnit.Pixel.
Read time 1 minuteLast updated 7 days ago

Definition

StyleLength(float)

Creates the Length with the value
v
in LengthUnit.Pixel.
public StyleLength(float v)

Parameters

StyleLength(Length)

Creates from either a Length or a StyleKeyword.
public StyleLength(Length v)

Parameters

StyleLength(StyleKeyword)

Creates from either a Length or a StyleKeyword.
public StyleLength(StyleKeyword keyword)

Parameters