- Home /
Is there an OnSceneChange event? Or some kind of event that is triggered when a new scene is loaded?
I spent quite a while googling this, and I can't seem to find a straightforward answer. Unity's official documentation doesn't seem to have squat on the subject, either. Is there an event that is triggered when a scene is changed using Application.LoadLevel()? If there isn't, then it's no big deal because I can work around that. But if it already exists, then I'd much rather use it than reinventing the wheel.
Answer by rootPL · Aug 13, 2016 at 07:54 AM
From 5.4 this is deprecated
Last working version is 5.3 here is documentation for it : http://docs.unity3d.com/530/Documentation/ScriptReference/MonoBehaviour.OnLevelWasLoaded.html
see: http://answers.unity3d.com/questions/1174255/since-onlevelwasloaded-is-deprecated-in-540b15-wha.html
Your answer
Follow this Question
Related Questions
Scene Change Event 1 Answer
Change Material in other Scene by Scripting 0 Answers
Animation play when player collides/hits an GameObject 0 Answers
How to change OnTriggerEnter to Ui Button click 1 Answer
how do you change a scene ingame? 1 Answer