Ategon@programming.devM to Godot@programming.dev · 2 months agoDaily Godot Tip #28: You can group your exported variables into toggleable sections to make them a bit cleaner (and a similar structure to the built in variables)programming.devimagemessage-square4fedilinkarrow-up151arrow-down10file-text
arrow-up151arrow-down1imageDaily Godot Tip #28: You can group your exported variables into toggleable sections to make them a bit cleaner (and a similar structure to the built in variables)programming.devAtegon@programming.devM to Godot@programming.dev · 2 months agomessage-square4fedilinkfile-text
@export_group(“Text”) is used to make a group and you can break out of the group using @export_group(“”)
minus-squareMikelius@lemmy.mllinkfedilinkarrow-up4·2 months agoAnd don’t forget the awesome @export_subgroup("text") on top of that!
minus-squareMayonnaise@lemm.eelinkfedilinkarrow-up4·2 months agoNot included in their text, but it is in the screenshot. Probably helpful for you to point it out though, not everyone is going to read the code in the screenshot.
And don’t forget the awesome
@export_subgroup("text")
on top of that!Not included in their text, but it is in the screenshot. Probably helpful for you to point it out though, not everyone is going to read the code in the screenshot.