Skip to content

ReadonlyExpandablePropertyDrawer: initial commit. #403

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

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

Conversation

danineuss
Copy link

@danineuss danineuss commented Apr 3, 2025

@dbrizov (or any of the maintainers) I hope you are in a place to take a look at this. Thank you for your all your hard work 💛

Custom drawer for any field that references a scriptable object much like ExpandablePropertyDrawer. Shows the contents of the scriptable object without making the properties thereof editable.

This is how it looks in the Inspector:
image

Note how the field of the config itself remains editable, meaning you can still switch out which config is used (in contrast to the ReadonlyAttribute where that is prevented). Only the properties of the inner config are read-only.

Custom drawer for any field that references a scriptable object much like     `ExpandablePropertyDrawer`. Shows the contents of the scriptable object without making the properties thereof editable.
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