UI Editor/Inspector

From Virtual World Web Wiki
Revision as of 17:07, 28 November 2017 by IanN (Talk | contribs)

Jump to: navigation, search

The Inspector Panel in the UI Editor is a tool for the inspection and modification of the window and components of the UI being edited. The properties for the component selected in the Hierarchy panel are displayed here.

Inspector.PNG

Common Properties

All UI elements have some properties in common which are displayed topmost in the panel.

Visible

The topmost checkbox controls whether or not this element should be rendered.

Name

The canonical name for the element. This can be used as part of Find commands for components.

Style

An internal identifier (usually derived from the Name) which allows the .ui file to store properties in the side-by-side .style file

Template

The template (if any) the element was originally derived from.

RectTransform

Unity internally uses the RectTransform to control the width, height, anchors, and pivot of the UI element. Check the Unity Documentation for more info.

Styling

All elements support a set of styling properties for displaying shadow/outline on their features. Usually this is used for labels, but can be used on other kinds of UI elements as well.

Panel Layout

All components (not windows) support a set of layout properties for controlling how they appear when inside a panel with its Layout property enabled.