Hey
If I use Object.DontDestroyOnLoad, how can I keep an object that is child of another object which I dont want to keep?
If I dont persist the parent object, I will get the error in the next scene that I try to access an object which has been deleted.
Parent
- Child
I want to keep Child, but it seems (Unity 4.6) that I need to DontDestroyOnLoad(Parent). Am I misusing it? And if I HAVE to keep the Parent object, how can I delete it from the new scene once it has been loaded and just keep the Child?
thx in advance