Add @export_readonly
annotation.
#10924
tx350z
started this conversation in
General Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Provides a simple way to prevent property changes in the inspector. It is possible to flag an exported property as read-only using
@export_custom
, but it requires both hint and usage flags. The need to prevent property changes in the inspector seems to be a common enough need for it to have it's own annotation.Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions