This version of Unity is unsupported.

Editor.CreatePreview

Declaration

public UIElements.VisualElement CreatePreview(UIElements.VisualElement inspectorPreviewWindow);

Description

Implement this method to make a custom UIElements inspector preview.

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.