Version: 5.4
계층 창
프로퍼티 편집

The Inspector Window

The inspector in its default position in Unity
The inspector in its default position in Unity

Inspecting Game Objects

The showing a typical Game Object and its components
The showing a typical Game Object and its components

The Inspector is used to view and edit the properties and settings of Game Objects, Assets, and other preferences and settings in the Editor.

When you select a GameObject in the Hierarchy or Scene View, the Inspector will show the Properties of all Components and Materials on that object and allow you to edit them. The image above shows the inspector with the default 3D camera GameObject selected. In addition to the object’s position, rotation and scale values, all the properties of the camera are available to edit.

Inspecting Script Variables

Inspector showing a GameObject several custom scripts attached, and their public properties available to edit.
Inspector showing a GameObject several custom scripts attached, and their public properties available to edit.

When Game Objects have custom Script components attached, the public variables of that script are also shown in the inspector and can be viewed and edited like the properties of Unity’s built-in components. This allows you to set parameters and default values in your scripts easily without modifying the code.

에셋(Assets) 점검

Inspector showing the import settings for a texture
Inspector showing the import settings for a texture

When an Asset is selected in your Project Window, the Inspector will show you the settings related to how that asset is imported and used at runtime. Each type of asset will have a different arrangement of settings. Below are some examples of the inspector showing the import settings for other asset types:

Inspector showing the import settings for an FBX file containing 3D models
Inspector showing the import settings for an FBX file containing 3D models
Inspector showing the import settings for an audio file
Inspector showing the import settings for an audio file
Inspector showing the import settings for a Material Asset
Inspector showing the import settings for a Material Asset

Project Settings

Inspector showing the Tags and Layers Project Settings panel
Inspector showing the “Tags and Layers” Project Settings panel

When you select any of the Project Settings categories (found under: Editor -> Project Settings), those settings will be displayed in the inspector. Find out more about these on the Settings Managers page.

계층 창
프로퍼티 편집