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.