I have more than children attached to my game object. Such as variables that house instances of objects (like weapons). Would those be destroyed if I use don’t destroy on load?
If so it would be kinda pointless to try to implement level “forging” in my game. Thanks in advance.
timsk
2
This kind of thing is in the reference:
http://unity3d.com/support/documentation/ScriptReference/Object.DontDestroyOnLoad.html
If you use it on a GO that has a script containing variables, the variables will not be changed by dontdestroyonload.