Version: 2018.2

CustomPreviewAttribute

class in UnityEditor

Switch to Manual

Description

Adds an extra preview in the Inspector for the specified type.

You can use this attribute to add your custom preview to any object that can be Inspected.

Constructors

CustomPreviewAttributeTells a DefaultPreview which class it's a preview for.