- Home /
Creating Multiple Similar Scenes Effectively
I've been working on a mobile game that uses the same framework for each level in the game, and I was wondering what would be the most efficient way to store all those levels in Unity. Should I only use one scene and save all the level data somewhere in the filesystem so that each level can be loaded on demand? Or, should each level have its own scene in Unity? Or is there another, more efficient way to do this?
I just worry that creating multiple scenes with nearly identical assets will take up far too much memory and space on someone's device for such a simple game, but I can't figure out a better way to do it. Any ideas?
Answer by blinkafrootable · May 19, 2020 at 12:42 AM
After some research, I've decided to store my level data as JSON files in my Resources folder so that I could use Resources.Load() and the JsonUtility to load my levels. I know that Resources.Load() doesn't scream optimization or efficiency but, for such a small file, I don't think that it'll be a big deal.
Your answer
Follow this Question
Related Questions
How to keep music playing when android screen is turned off (or locked)? 0 Answers
ARCore not working well with Unity.,ARCore not answer correctly to instant preview. 0 Answers
Multiple issues when Testing and Building for Android (4.4.2) 0 Answers
using GooglePlayGames; not working? 0 Answers
Use LightSensor using new InputSystem 0 Answers