- Home /
Question by
diliupg · Mar 04, 2020 at 03:49 AM ·
scene-loadingpersistence
LoadSceneMode.Additive instead of DoNotDestroyOnLoad
I have been using the DoNotDestroyOnLoad method in most of my projects. I am currently working on a 2D side scrolling Adventure/Shooter and rely heavily on the above which works fine. I stumbled upon the
SceneManager.LoadScene("menu", LoadSceneMode.Additive);
method which got me thinking. Would using this be more efficient than using DoNotDestroyOnLoad? I can can simply add this line to an emty object which i can place on all scenes which will automatically load the relevant objects with their scenes additivley to ALL my game scenes. Please give this a thought and comment. Thank you for reading this and May You be Well.
Comment
Answer by diliupg · Mar 05, 2020 at 11:05 AM
This answer to the same question on Reddit confirms my thoughts.
Your answer
![](https://koobas.hobune.stream/wayback/20220612224342im_/https://answers.unity.com/themes/thub/images/avi.jpg)