Hello, I have some object that I want them to never be destroy so even when I switch scenes, they are not destroy. But sometimes, I need to be disable. But when I change scene, they just destroy because the script attached to them telling them to DontDestroyOnLoad is also disable.
Is there a better way to simply but them as a child in a parent and not disable the parent and put him or DontDestroyOnLoad? Or could I create a script on a GameMaster object that would tell other object to DontDestroyOnLoad even if they are disabled? What would be the most efficent way?
Thanks a lot!
↧