useAssetDrawPreview
Determines if the asset preview is handled by the AssetEditor or the Importer DrawPreview
Read time 1 minuteLast updated 21 days ago
Definition
- Type: Property
- Namespace: UnityEditor.AssetImporters
- Assembly: UnityEditor.CoreModule
protected virtual bool useAssetDrawPreview { get; }
Remarks
We usually want to redirect the DrawPreview to the AssetEditor, but there are few cases we don't want that. If you want to use the Importer DrawPreview, then override useAssetDrawPreview to false.