Hey, I was just wondering is it possible to save an array so that it will stay the same after the level has changed. I don’t want it to be saved for between executions of the game, but only between levels. I think I’ve read something about this, but I lost it and I couldn’t find it.
function Awake () {
DontDestroyOnLoad (transform.gameObject);
}
Add the script to the gameobject, usually an EGO
There is a script for saving arrays in the wiki. Sorry i dont have the link. But it works just as good as any of the other player prefs.
Thanks! Both of you gave helpful information