Closed chamx2 closed 5 years ago
Now both editor code and attribute itself is in the same .cs file, here
Look for the parts wrapped with #if UNITY_EDITOR and #endif The most important stuff is in CheckPropertyVisible method.
CheckBehaviourPropertyVisible() is used by MustBeAssigned attribute drawer (usage of MustBeAssigned) to skip MustBeAssigned check on hidden fields. You may just omit that
Hello I've read your comment in this thread
https://answers.unity.com/questions/192895/hideshow-properties-dynamically-in-inspector.html
Somehow your method is more flexible and when I look for the drawer script it send me to an error 404 since I think you've replaced it with another code or decided to put an all in one solution on GUI Drawer.
I was wondering what is the script your are using right now for the conditionalfield drawer
Thank you.