Quantcast
Viewing all articles
Browse latest Browse all 205

Should an entire level be a prefab?

As far as ican see there's 2 ways to create different levels. Either save them as a scene, then load them using: Application.LoadLevel ("Level2"); But this might become cumbersome if I have many levels. I have to open them individually. So the other idea was to save each level as a prefab and spawn the relevant one, and destroy the old when switching levels, but keep it within the same scene. What I want to check is that this is good practice? Is there an advantage of keeping levels in separate scenes? At least with the spawn/destroy method I can compare scenes side by side if needed. I'd like to know your opinion, and possibly any link to tutorials if possible. Thanks!

Viewing all articles
Browse latest Browse all 205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>