- Home /
How to make Set Active true when scene loads
Okay so I have a First Person Shooter game and I have it all set up so that when the 2 objects are destroyed, it loads the next level (scene). In the next scene, I have an object that is set active false, and I have to keep it at false until that scene loads. Now I don't know how to do that. I know how to change the scene, but I don't know how to do it so that when the scene loads, the set active of a specific object becomes true. Here is the script I tried with my beginner scripting skills:
I'm not very advanced in scripting so sorry if this was dumb but yea can someone help me? Thanks in advance!
Answer by nt314p · Aug 01, 2017 at 12:02 AM
See this post:
http://answers.unity3d.com/questions/1174255/since-onlevelwasloaded-is-deprecated-in-540b15-wha.html