Scene Autoloader - edcasillas/unity-common-utils GitHub Wiki

The Scene Autoloader is a tool that allows you to define a starting scene for your game, and start playing from that scene every time you hit the play button on the Unity Editor.

Scene Autoloader

This is specially useful when you have one or more scenes loading prerequisites of your game, without which other scenes couldn't run. Your usual workflow would be to edit a scene, then open your initial scene, hit Play, test, then open the scene you were previously editting to continue working.

The Scene Autoloader aims to speed up this workflow by defining a starting scene, so you can edit a scene, hit play and start your game right from that "master" scene; when you stop the game, the Editor will take you back to the scene you were previously editting so you can continue working.

To configure the Scene Auto Loader, open the menu "Tools->Configure Scene Autoloader...". Select your master scene and check the Load this scene on Play checkbox (and uncheck if you don't want the master scene to load when you hit Play).

An additional option appears when the Load this scene on Play checkbox is checked: Auto Save on Play allows you to save your current changes automatically without any prompt when you hit the Play button.

Don't forget to press the Save Changes button on this screen when you're finished.