dbrizov / NaughtyAttributes

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

[Request] Buttons should have the option to not dirty the scene or prefab when in prefab mode #345

Open tromagon opened 1 year ago

tromagon commented 1 year ago

Currently using [Button] as a way to output information in the console.

However it seems to always dirty the scene or the prefab currently opened. Not sure why this would be the default behaviour but there should at least be an option to disable it. Probably through a parameter in the ButtonAttribute