CustomPreviewAttribute

class in UnityEditor

/

Implemented in:UnityEditor

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.