Loading levels

Scenes are just a unit of loadable “things.” Think of them as pages or documents if you like.

You can make an entire game in one document.

You can make a game that consists of each scene containing all it needs for a mode or level, repeating the common stuff over and over. This isn’t great, but it’s often done for expediency.

You can also compose what you call a “level” by additively loading several scenes.

Here’s more reading:

Additive scene loading is one possible solution:

A multi-scene loader thingy:

My typical Scene Loader:

Other notes on additive scene loading:

Timing of scene loading:

EDIT: I now disagree with my former position hidden under this spoiler Also, if something exists only once in one scene, DO NOT MAKE A PREFAB out of it. It’s a waste of time and needlessly splits your work between two files, the prefab and the scene, leading to many possible errors and edge cases.

Two similar examples of checking if everything is ready to go:

1 Like