- Home /
Best practices about shared objects
Hello, my question today about shared between scene objects (like localization manager that must be loaded once at application start and destroyed at application exit).
My current strategy now is:
Init Scene -> Create and attach shared objects (GameObject Singleton + DontDestroyOnLoad) -> Loading first game scene
In this case i have only one construction call for my shared objects (dont need worry about that every back to first scene i must destroy new created instance) & live circle (destroy will be at exit), but as newbie in Unity i not sure correct it way or possible make better.
Please tell in comments how you realize your own shared between scene managers. With best regards.
Your answer
Follow this Question
Related Questions
i can't get al the opjects in my scene view.. 1 Answer
[Solved]Game Objects Visible in Game tab but not on Scene tab 3 Answers
`SceneManagement' does not exist in the namespace `UnityEngine' 1 Answer
Scene Wiped? 1 Answer
Change objects in scene 3 Answers