As you might have guessed I’m fairly new. I’m struggling to access variables I have wrote in one script, and making them accessible in another script, in another scene.
I have made the variables public static. (Not sure if that is the best way to do it) But they need to be retained across the different scenes as well. So you increase the variable in one scene, and decrease it in another. So it is essential the changes go back and forth.
I’m struggling to access the variables from my second scene, and alternative script, and alter them.
Hey. Singletons sound like exactly what I need. But I can’t get my head around them. I’ve followed what you’ve supplied but I can’t make sense of it. Any more help would be great.