In my game, changing layouts happens frequently, and I need to find the best way to store variables so they stay consistent between layouts. Say I collect an item in layout 1, then switch to layout 2, and back to layout 1, I want the variable to hold its value.
I'm only really familiar with global variables, I haven't had any experience with Instance vars, or local storage, which might be better solutions.
Any info is appreciated!!