dbrizov / NaughtyAttributes

Attribute Extensions for Unity
MIT License
4.47k stars 463 forks source link

[Request] Clicking a button on multiple objects only clicks one #362

Open CausticLasagne opened 1 year ago

CausticLasagne commented 1 year ago

I have noticed an issue regarding buttons: When you have a [Button] on multiple objects and click said button, it will only update or perform the 'click' action on one of the objects. In my project I have an inventory item scriptable object with a [Button] and about 400+ copies of the object that need to have the button clicked. But NaughtyAttributes only clicks one of the items that were selected. By contrast, there is another library available called EasyButtons that already has this feature.

Please consider adding this feature because I really like NaughtyAttributes as it is really powerful and allows a lot of control over the inspector window. Best Regards.