-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Conditional UnityEvent inspector is broken #24
Comments
Yep, actually there is no way to draw custom property drawer inside of property drawer. So any property with fancy inspector appearance will be drawn as a plain data :( Like with arrays, it's just the way unity works. |
...buuut I found this thread on how to hack the engine to make it done, so maybe there is some hope :) // I'll check it a bit later |
Works in my case. Is it already fixed? |
Ahh.. sorry found out why. I use a custom property drawer for UnityEvents: |
Whoa 😲. I never thought of possibility to extend existing custom drawers this way! Maybe I'll contact Bryon to embed this one in MyBox. Thanks for bringing this up 👍 |
Finally! Now UnityEvent works with ConditionalAttribute and comes with a few nice improvements! Thanks to the Bryon, almost after half of a year I'm able to close this issue 😁 @woistjadefox, you probably should remove your CollapsableEventDrawer.cs before you'll grab the latest commit of MyBox |
My attempt to conditionally show/hide an UnityEvent field failed.
The inspector is broken like this
The text was updated successfully, but these errors were encountered: