Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
You can use global variables or save variables to disk in a file when you close the scene, and then load from this file when you open a new scene. Or use the singleton pattern, which is essentially the same as using global variables.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question