dbrizov / NaughtyAttributes

Attribute Extensions for Unity
MIT License
4.58k stars 465 forks source link

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

Open tromagon opened 2 years ago

tromagon commented 2 years 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