Skip to content

ShowAssetPreview shows gameobject if a component has no preview#313

Open
kraj0t wants to merge 1 commit intodbrizov:masterfrom
kraj0t:showassetpreview-component-gameobject
Open

ShowAssetPreview shows gameobject if a component has no preview#313
kraj0t wants to merge 1 commit intodbrizov:masterfrom
kraj0t:showassetpreview-component-gameobject

Conversation

@kraj0t
Copy link
Copy Markdown

@kraj0t kraj0t commented Mar 29, 2022

In my scripts, I have serialized references to Components. These components live in the root gameObject of prefabs.

If I use the ShowAssetPreview on a field of type Component, then no preview is shown. With this change, the preview of the gameObject shows correctly.

Thank you for the great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants