Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LengthUnit

Describes how to interpret a Length value.
Read time 1 minuteLast updated 5 days ago

Definition

public enum LengthUnit

Fields

Value

Description

PercentInterprets length as a percentage, with 100 representing 100%. The value is not constrained and can range from negative numbers to values greater than 100.
PixelInterprets length as pixel.