CreatePreview(VisualElement)
Implement this method to make a custom UIElements inspector preview.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public virtual VisualElement CreatePreview(VisualElement inspectorPreviewWindow)
Parameters
Returns
Type | Description |
|---|---|
| VisualElement |
Remarks
Inside this method, you can create your own custom UIElements inspector preview for a specific object type.
Note: This function has to be overridden in order to work.