NaughtyAttributes
NaughtyAttributes copied to clipboard
[Request] show preview of prefab with [ShowAssetPreview] when referencing a component
Instead of referencing GameObject when assigning prefabs, I tend to reference a component on the prefab. It would be great if the [ShowAssetPreview] attribute could be extended so that if used on a MonoBehaviour reference, it previews the asset that it is attached to.
I second this, strongly.
Here is one tool than can be used together with NaughtyAttributes:
[BelowImage(maxWidth: 50)] public SpriteRenderer prefab;