Summary
[Pro-Only]
Causes the attributed
UnityEngine.Object reference field to draw a preview of the target object.
- Assembly
- Kybernetik
.InspectorGadgets .dll - Namespace
- InspectorGadgets
.Attributes - Base Types
-
- PropertyAttribute
graph BT
Type-->Base0["PropertyAttribute"]
Type["ShowPreviewAttribute"]
class Type type-node
Syntax
[System.Diagnostics.Conditional("UNITY_EDITOR")]
public sealed class ShowPreviewAttribute : PropertyAttribute
Attributes
| Type | Description |
|---|---|
| ConditionalAttribute |
Constructors
| Name | Summary |
|---|---|
| ShowPreviewAttribute |
Creates a new InspectorGadgets.Attributes.ShowPreviewAttribute with the specified size. |
Fields
| Name | Constant Value | Summary |
|---|---|---|
| MaxHeight |
The maximum height (in pixels) at which to draw the preview.
|