Replies: 1 comment 1 reply
-
There's already a proposal tracking this: #1255 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I was wondering if we can improve user experience when it comes to adding categories and groups for script variables in the inspector. Right now to get something like this:
You need to write code like this:
(which in my opinion is a lot of work, very hard to understand for beginners (its hard to follow docs) and it is just bad... you very often need to just copy same thing over and over again) and also alot of the times people also use _set and _get functions with it. Which makes it even more hard to read and write.
I was wondering if we can cut it down to something like this:
IF YOU JUST WANT TO EXPORT VARIABLE
@export var my_name = "Name"
IF YOU WANT TO MAKE CATEGORY
@export_category = "Characters"
IF YOU WANT TO MAKE GROUP
@export_category = "Characters" (plus somehow add hints if you want??? and type)
IF YOU WANT TO ADD VARIABLE TO CATEGORY OR GROUP
@export (Characters) var attack = 10
So above code could look something like that?
So basically 1/4 of code for similar possibilities or something like that? I mean lets discuss it! :)
Beta Was this translation helpful? Give feedback.
All reactions