Editing Value Properties
Manual     Reference     Scripting   
Unity Manual > Using the Inspector > Editing Value Properties

Editing Value Properties

Value properties do not reference anything and they can be edited right on the spot. Typical value properties are numbers, toggles, strings, and selection popups, but they can also be colors, vectors, curves, and other types.


Value properties on the inspector can be numbers, checkboxes, strings...

Many value properties have a text field and can be adjusted simply by clicking on them, entering a value using the keyboard, and pressing Enter to save the value.

Some Value Properties open up a small popup dialog that can be used to edit the value.

Color Picker

Properties of the Color type will open up the Color Picker. (On Mac OS X this color picker can be changed to the native OS color picker by enabling Use OS X Color Picker under Unity->Preferences.)

The Color Picker reference in the inspector is represented by:


Color Picker reference in the inspector.

And opens the Color Picker just by clicking on it:


Color Picker descriptions.

Use the Eyedropper Tool when you want to find a value just by putting your mouse over the color you want to grab.
RGB / HSV Selector lets you switch your values from Red, Green, Blue to Hue, Saturation and Value (Strength) of your color.
Finally, the transparency of the Color selected can be controlled by the Alpha Channel value.

Curve Editor

Properties of the AnimationCurve type will open up the Curve Editor. The Curve Editor lets you edit a curve or choose from one of the presets. For more information on editing curves, see the guide on Editing Curves.

The type is called AnimationCurve for legacy reasons, but it can be used to define any custom curve function. The function can then be evaluated at runtime from a script.

An AnimationCurve property is shown in the inspector as a small preview:


A preview of an AnimationCurve in the Inspector.

Clicking on it opens the Curve Editor:


The Curve Editor is for editing AnimationCurves.

Wrapping Mode Lets you select between Ping Pong, Clamp and Loop for they Control Keys in your curve.
The Presets lets you modify your curve to default outlines the curves can have.

Page last updated: 2010-09-13