Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


useAssetDrawPreview

Determines if the asset preview is handled by the AssetEditor or the Importer DrawPreview
Read time 1 minuteLast updated 21 days ago

Definition

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.