- Home /
Scene management trick?
Hi all!!
Im creating a big project with Unity and im getting to a point where im needing to learn database management load/save etc when changing between scenes.
But i "found" some weird way to never have to load scenes and to fake that so objects get never destroyed.
Let say i have a world map and i want to enter a shop buy scene when i clik on something.
I created a Empty Game Object with a child containing the world map objects etc and a Empty Game Object with a child containing shop objects.
What if i disable World map container and enable shop container, and when i turn back to world map i enable back the world map and disable the store?
And lets say that as i have a shop i have an armory, a fort, a battle scene etc and i want to use this "system(?" also with theese scenes. Always having one active.
Is this CPU expensive?
J
Your answer
Follow this Question
Related Questions
Arrays vs. XML or SQLite: Fastest data storage/retrieval using JavScript/UnityScript? 0 Answers
unity webgl data caching not turning off 0 Answers
Cloud save in Unity 3 Answers
What are good ways to store a simple set of data/variables on an object 2 Answers
How to structure my project so that I can save/load information? 0 Answers