Ok kind of simple question but also fairly important to what I am doing. I am using Application.LoadLevel() to change a level but I plan on making one object persistent. Will the Start() function be called again on this object in the new level? If not, is there a function that would be called after the new level has been loaded?
You could just add an empty game object to each level with a script that performs level specific tasks. Things that should happen when the level is loaded, played, paused, unloaded etc.
The safe solution is to have a function on the persistent object with a function like “onLevelLoad” that perform maintance stuff on the persistent object. If it is a game character, maybe resetting values and stuff.
The level specific script can then call this function on the persistent object.