-
Notifications
You must be signed in to change notification settings - Fork 84
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
I cannot use EasyButtons with NaughtyAttributes #19
Comments
Hi, This is due to Unity not supporting several custom property drawers. The potential solution is to either create your own attribute and property drawer to draw both EasyButtons and NaughtyAttrubutes buttons. Additionally you can check this solution for some ideas: https://forum.unity.com/threads/drawing-a-field-using-multiple-property-drawers.479377/ Hope this helps! |
Hi, I'm trying to make NaughtyAttibutes and EasyButtons compatible too. I figured it would be easier to just delete NaughtyAttributes [Button] and leave EasyButton's Button attribute intact. Just deleting the button attribute file is not enough though, because somehow the mere presence of the EasyButtons files on the project makes it as if NaughtyAttributes does not even exist, giving errors about not recognizing the NaughtyAttrinutes name. If I were to use the solution in the link you posted, where should I implement the new parent scripts and which elements of the plugins should be changed? NaughtyAttributes has even their own custom editor that references all property drawers inside it. |
I tried incorporating ButtonDrawer using Type.GetType into NaughtyAttribute's drawer here. One issue I found is sometimes if EasyButtons is installed after NaughtyAttributes, EB overrides the drawer until restarted. |
I think they both use Button Attribute so it makes it to conflict in button method
The text was updated successfully, but these errors were encountered: