Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.