Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShowAssetPreview shows gameobject if a component has no preview #313

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kraj0t
Copy link

@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