Godot Version
godot4.4 dev3
Question
i want to export a var like this:
The method I can think of is to write a Resource script, StepperItem, where I define text, icon, id, disable, and separator. Then, I use @export var items:Array[StepperItem]=. However, in the inspector panel, it doesn’t look as elegant as the system variables, because each time I add an element, I need to manually select and create a resource, instead of having it listed directly like in OptionButton.
anyone can help?thanks a lot