DontDestroyOnLoad() question about Start() method

Hello,

let’s say that I have a scene, in which I have a game object that has a script attached. I want this script to be availabe in the next scene also, so I use DontDestroyOnLoad(game object) method when I load a new scene.

When a new scene is loaded, will the Start() method be called again on that particular script ?

Regards, L

nope, iirc OnEnable is called after a scene load though

OnEnable is not called either. Just tested it on Unity 5.6.

Something simple to test, for future reference. That was a small question you could have figured out in 2 mins of testing.
:slight_smile:
You can assign a delegate callback to when the scene is loaded, if you want to do something at that time.
*in case this question was asking “I’d like something like Start() on the next scene”. :slight_smile: