Build the game

  1. Press Ctrl+Shift+B to open Build Profiles. The Default profile lists Main.scene, marked boot: the game starts on the menu.
  2. Select Build And Run. The editor builds the game into Builds/Default/ and starts it.

The levels are not in the list, and they do not need to be. A build holds the scenes it lists and everything they reference: the menu names the first level in its firstLevel field, the first level names its Level1.level, which names the second level, and each level names the coin prefab, the sound and the HUD. A scene that nothing references is left out, so a build carries only what the game can reach.

To share the game, zip the Builds/Default folder. Build and run says what the folder holds and what the people you send it to need.