Is it better to keep the scenes amount small?
Hello,
I'm trying to understand how to setup my game with Unity prefabs and scripts to dynamically spawn several GameObjects.
Within from the start menu, one can select different levels, but I want to keep my game structured.
Here are my thoughts of different ways to built a game:
1. On every levelselection from the menu the same scene gets loaded, containing a LevelManager script which loads GameObjects-Prefabs depending on what level the user wants to play.
small scene amount (2: menu, level) (+)
more prefabs amount (-)
preview of the levels in scene view is not possible, they are instantiated at runtime (-)
more coding to instantiate right prefabs and to fit miscellaneous settings, e.g. different fog, ambient light (-)
2. On every levelselection a different scene gets loaded, containing the given GameObjects and right miscellaneous setup.
bigger scene amount (2+: menu, levels) (-)
bigger game size (-)
less prefabs amount (+)
preview of the levels in scene view is possible, they are not instantiated at runtime (+)
less coding in terms that the scene is setuped right (+)
Let me tell if you agree with these steps or what is your approach of loading levels dynamically?
Your answer
Follow this Question
Related Questions
Resources vs referanced prefabs 0 Answers
I downloaded a project and my assets are Pink?! 0 Answers
Can you configure prefabs in code? 0 Answers
Dynamically Loading asset path issues 0 Answers