|Topic was automatically imported from the old Question2Answer platform.
I have an item list that is empty initially and the user fills in the item list during runtime. I want all the items of this list to be sent to another scene, ideally in another item list. How do I do this? Do I want to turn this item list into an array and then pass values to the new scene to form another Item List? Do I turn this itemlist node global somehow?
This seems like an ideal use case for some shared data, perhaps using an autoload: Singletons (Autoload) — Godot Engine (stable) documentation in English
Using a singleton like this (or passing a reference to it), no data need be copied.
spaceyjase | 2023-04-13 18:29