Difference between revisions of "UI Editor/Inspector"
(Created page with "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.") |
|||
Line 1: | Line 1: | ||
− | 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 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 [[UI Editor/Hierarchy|Hierarchy]] panel are displayed here. |
+ | |||
+ | == 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 [[UI Editor/Templates|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.<ref>https://docs.unity3d.com/Manual/class-RectTransform.html</ref> | ||
+ | |||
+ | Additionally, all com |
Revision as of 21:41, 21 November 2017
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.
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.<ref>https://docs.unity3d.com/Manual/class-RectTransform.html</ref>
Additionally, all com