Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Lfzinho |
I’m trying to make an inventory system like Pokémon (every item shown in a list). I just don’t know how to add labels and textures for every new item that’s added.
How can I do this?
If it helps, the items are being saved in an array.
Are you referring to a VBoxContainer
? If so, you add your Control
nodes as children to the VBoxContainer
.
Ertain | 2020-07-04 03:32
Yes. Manually, that’s the idea. But how do I make it so the code can add a new control for every new item got?
Lfzinho | 2020-07-04 03:38
have you tried instancing a “control” scene into the vbox node?
dustin | 2020-07-04 12:16