07-20-2019, 03:07 PM
Oh sorry, I didn't Had a notification about your response, and I kind of forget.
Yes my scene loader can load multiple scene, for performance reason I load all of them at start, and active/desactive what I want.
With that kind of setup, Singleton are extremly problematic.
and secondly, even if I had a prefabs of _curvyGlobal, 2 things:
- I think this object is created automaticly, even in my main scene (But I think I have seen that i could desactivate that)
- Secondly, a unity probleme: since I'm using the editor to add/subb object, unity does'nt want me to use DestroyImmediate inside an prefabs in the scene : so i'm limited in terme of prefabs.
Don't bother modify it only for me, it's more a suggestion for you in the future
Yes my scene loader can load multiple scene, for performance reason I load all of them at start, and active/desactive what I want.
With that kind of setup, Singleton are extremly problematic.
and secondly, even if I had a prefabs of _curvyGlobal, 2 things:
- I think this object is created automaticly, even in my main scene (But I think I have seen that i could desactivate that)
- Secondly, a unity probleme: since I'm using the editor to add/subb object, unity does'nt want me to use DestroyImmediate inside an prefabs in the scene : so i'm limited in terme of prefabs.
Don't bother modify it only for me, it's more a suggestion for you in the future