CreatePreview(VisualElement)
Implement this method to make a custom UIElements inspector preview.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public virtual VisualElement CreatePreview(VisualElement inspectorPreviewWindow)
Parameters
Returns
Type | Description |
|---|---|
| VisualElement |
Remarks
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.