CreatePreview(VisualElement)
Implement this method to make a custom UIElements inspector preview.
읽는 시간 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.