Version: 5.4 beta (switch to 5.3)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Unit

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Settings used to specify a physical unit.

Variables

CentimetersUse centimeters. A centimeter is 1/100 of a meter.
MillimetersUse millimeters. A millimeter is 1/10 of a centimeter, and 1/1000 of a meter.
InchesUse inches.
PointsUse points. One point is 1/12 of a pica, and 1/72 of an inch.
PicasUse picas. One pica is 1/6 of an inch.