How do I keep inventory slots while switching scenes

Hello!
I followed this tutorial for the inventory slot system (it works, no issues there). My issue is that I can’t find a tutorial that would help me understand how do i make the inventory slots remember it’s contents and transfer them while the player is going into a new scene. I’m aiming for a simple type of inventory slot thingy, not where it checks whether the player has picked more or less objects… (sorry if the text wasn’t written that clearly, its just hard to put my idea in words right now.)

1 - I never followed this tutorial but i remember it have 1 issue which is addressing wrong variable somewhere
In one of videos for that tutorial if not all there is pinned comment on top which points which variable is mixed up

2 - If you want it to remember it between scenes then use global variables instead of scene variables

1 Like