CustomPreviewAttribute(Type)
Tells a DefaultPreview which class it's a preview for.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEditor
- Assembly: UnityEditor
public CustomPreviewAttribute(Type type)
Parameters
The type you want to create a custom preview for.
Remarks
When you make a custom preview, you need put this attribute on the preview class.