Version: 2020.1
Focused Inspectors

Editing properties

Properties are settings and options for GameObject components and Assets. You edit properties in an Inspector window.

다양한 값과 레퍼런스 프로퍼티를 표시하는 Light 컴포넌트
다양한 값과 레퍼런스 프로퍼티를 표시하는 Light 컴포넌트

Properties fall into the following major categories:

  • References: links to other GameObjects and Assets.
  • Values: numbers, colors, on/off settings, text, and so on.


Reference properties take compatible Project Assets or GameObjects in the Scene as inputs. For example, the Mesh Filter component refers to a Mesh Asset somewhere in the Project.

When you create a component, its reference properties are unassigned.

You assign references to properties by dragging and dropping objects and Assets onto reference property fields, or using an Object Picker window.

Some reference properties accept specific types of components (for example, Transform). When you assign a GameObject to those properties, Unity locates the first component of the required type on the GameObject, and assigns it to the reference property. If the GameObject doesn’t have any components of the right type, you cannot assign the GameObject to the property.

Assigning references by dragging and dropping

To assign a reference to a property, drag and drop a compatible GameObject or Asset onto the property field in the Inspector.

Assigning references with the Object Picker window

Use the Object Picker window to find and select a reference object to assign.

  1. Click the small circle icon to the right of the property in the Inspector to open an Object Picker window.
  2. Find the object or Asset you want to reference, and double click it to assign it to the property.


You edit most value properties using simple controls. For example:

Fields where you enter text and numeric values.

You can type numeric values directly in a property field, or click and drag the property label to increase and decrease the value.

Some properties also have sliders for adjusting numeric values.

Check boxes where you toggle properties on and off.

Drop-downs and pop-ups where you choose one of multiple possible values.

Some GameObjects and Assets have more complex properties that you edit with specialized controls or dedicated editors. The rest of this section describes how to set these complex properties.

Color values

The Inspector window displays color properties as swatches.

Click any swatch to open a color picker or an HDR color picker, depending on the context. For example, Unity displays the HDR Color Picker window when you edit the emission color property in the standard shader.

The Unity Color Picker window (left) and HDR color picker (right)
The Unity Color Picker window (left) and HDR color picker (right)

You can also use the eyedropper tool to pick color values from anywhere on the screen.

To pick a color, click the eyedropper button next to a color property, then click anywhere on the screen. Unity sets the color property to the color of the pixel you clicked.

You can save the colors you set in reusable swatch libraries that you can share between projects.

On macOS, you can choose to use the system color picker instead of Unity’s built-in color picker. From the Preferences (menu: Unity > Preferences) open the General panel and select macOS Color Picker.

Gradient values

A gradient is a visual representation of a color progression. They are useful for blending one color gradually into another, over space or time.

In Unity, you set some gradients by setting two or more color properties.

Other gradients provide dedicated editors to control the relative amount of each color.

The Particle System gradient editor
The Particle System gradient editor

A dedicated gradient editor shows the main colors, called stops, and all the intermediate shades between them in the gradient bar (1).

Upward-pointing arrows along the bottom of the gradient bar represent color stops (2).

  • Click a stop to select it. Unity displays its color value in the Color field.
    • Click the color swatch (3) to edit the color using a standard color picker.
    • You can also use the eyedropper tool (4) to pick color values from anywhere on the screen. Click the eyedropper button then click anywhere on the screen. Unity sets the color property to the color of the pixel you clicked.
  • Click an empty area under the gradient bar to add a stop.
  • Click and drag a stop to move it.
  • To delete a stop, select it and use the Ctrl/Cmd + Delete shortcut.

Downward-pointing arrows above the gradient bar represent alpha stops (5) that control the gradient’s transparency at a given point. You add and edit alpha stops the same way you edit color stops. When you select an alpha stop, the gradient editor displays an Alpha slider instead of the Color field.

By default, a gradient has two stops set to 100% alpha, which makes the gradient fully opaque. You can edit a stop to adjust the transparency, and add additional stops as needed.


A Curve is a line graph that shows the response (on the y axis) to the varying value of an input (on the x axis).

애니메이션 창의 커브 에디터
애니메이션 창의 커브 에디터

Unity uses curves in a variety of different contexts, especially in animation. Curve editors have a number of different options and tools. For details, see Editing Curves.

Bar sliders

A bar slider is a specialized control that lets you allocate a particular resource visually. For example, the LOD Group component uses a bar slider to define transitions between GameObject LOD levels.

The LOD Group selection bar is a type of bar slider control
The LOD Group selection bar is a type of bar slider control

You adjust the relative values of each segment in the bar by dragging the segment edges. Some bar sliders also have draggable handles.


When a script exposes an array as a public variable, the Inspector displays a control that lets you edit both the number of items in the array (Size) and the values or references within it.

A script with a Vector3 array property
A script with a Vector3 array property

When you decrease the Size value, Unity removes values from the end of the array. When you increase the Size value, Unity copies the current last value into all the new elements it adds.

To set up an array whose values are mostly the same, add the first element and then change the size to copy its value to subsequent elements.

Creating swatch libraries

Use swatch libraries to reuse, save, and share colors, gradients, and animation curves. You can save and choose swatches in the Color Picker, Gradient Editor, and Curve Editor.

Swatches section in the Unity Color Picker
Swatches section in the Unity Color Picker

견본 라이브러리는 파일에 저장하는 견본 컬렉션입니다. 견본 섹션에는 한 번에 하나의 라이브러리가 표시됩니다.

견본을 저장하려면 다음 단계를 따르십시오.

  1. 컬러 피커, 그레디언트 에디터 또는 커브 에디터를 열고 계층 구조 창에서 Main Camera 를 선택합니다.
  2. 인스펙터 창에서 Background Color 를 클릭합니다.
  3. 피커(Picker) 창에서 컬러, 그레디언트 또는 커브를 원하는 대로 조정합니다.
  4. Swatches 에서 희미하게 보이는 상자를 클릭합니다.
  5. 뷰가 List 모드인 경우 견본 이름을 입력합니다(선택 사항).
Grid 뷰에서의 컬러 저장 예시
Grid 뷰에서의 컬러 저장 예시

견본을 드래그 앤 드롭하여 순서를 변경하십시오. 견본을 마우스 오른쪽 버튼으로 클릭하여 맨 위로 옮기거나, 교체하거나, 이름을 바꾸거나, 삭제할 수 있습니다. Alt/Option 클릭을 통해 견본을 삭제할 수도 있습니다.

Swatches 의 드롭다운 메뉴로 다음을 수행할 수 있습니다.

  • 뷰를 변경하려면 List 또는 Grid 를 선택하십시오. List 뷰에는 견본 이름도 표시됩니다.
  • 견본 라이브러리를 선택합니다.
  • Create a Library 를 선택하여 새 견본 라이브러리와 저장 위치를 만듭니다.
  • Reveal Current Library Location 을 선택하여 Windows 탐색기/Mac OS Finder에서 현재 라이브러리를 확인합니다.

기본적으로 Unity는 견본 라이브러리를 사용자 환경 설정에 저장합니다. 견본 라이브러리를 프로젝트에 저장할 수도 있습니다. Unity는 프로젝트 견본 라이브러리를 Assets 폴더의 Editor 폴더에 저장합니다. 사용자 간에 프로젝트 견본 라이브러리를 공유하거나 패키지에 포함하려면 개정 제어 저장소에 추가하십시오.

프로젝트 견본 라이브러리를 편집하려면 다음 단계를 따르십시오.

  1. 프로젝트 창에서 견본 라이브러리를 선택합니다.
  2. 인스펙터 창에서 Edit 을 클릭합니다.

  • Reorganized Inspector section pages in Unity 2020.1
Focused Inspectors