Ability to set exported variable as abstract #11817
CubeOfCheese
started this conversation in
Scripting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If exported variables could be tagged as abstract, it could help prevent scenes from being misused.
Syntax:
@export abstract var myVar : Type
The effect would be that the property would not be allowed to be set via inspector within that scene. The inspector would only allow that property to be set from instances.
I don't know if abstract is the best word for this seeing as I can't think of any other language that has abstract properties like what I'm proposing.
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions