dbrizov / NaughtyAttributes

Attribute Extensions for Unity
MIT License
4.53k stars 464 forks source link

[Request] What about a DisableAtRuntime attribute? #340

Open NumidWasNotAvailable opened 2 years ago

NumidWasNotAvailable commented 2 years ago

DisableAtRuntimeAttribute would make a field not editable at runtime.

I know it can be achieved using the DisableIfAttribute primitive, however this would enable less code writing.

What do you think about it?

I can propose an implementation.