Version: 5.3 (switch to 5.4b)
Иерархия
Редактирование свойств

Using the Inspector (Использование панели Inspector)

Inspector отображает геймобъекта c компонентами
Inspector отображает геймобъекта c компонентами

Inspecting Game Objects

Inspector отображает геймобъекта c компонентами
Inspector отображает геймобъекта c компонентами

Панель Inspector используется для того, чтобы просматривать и редактировать Свойства объектов различными способами.

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.

Inspecting Assets

Inspector отображает геймобъекта c компонентами
Inspector отображает геймобъекта c компонентами

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 отображает геймобъекта c компонентами
Inspector отображает геймобъекта c компонентами
Inspector отображает геймобъекта c компонентами
Inspector отображает геймобъекта c компонентами
Inspector отображает геймобъекта c компонентами
Inspector отображает геймобъекта c компонентами

Project Settings

Inspector отображает геймобъекта c компонентами
Inspector отображает геймобъекта c компонентами

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.

Иерархия
Редактирование свойств