Skip to content

Instantly share code, notes, and snippets.

View pdcp1's full-sized avatar
👨‍💻
Heavy development

Pablo Costa pdcp1

👨‍💻
Heavy development
View GitHub Profile
@pdcp1
pdcp1 / SceneAutoLoader.cs
Created July 18, 2014 18:11
SceneAutoLoader with additive loading
using UnityEngine;
using UnityEditor;
/// <summary>
/// Scene auto loader.
/// </summary>
/// <description>
/// This class adds a File > Scene Autoload menu containing options to select
/// a "master scene" enable it to be auto-loaded when the user presses play
/// in the editor. When enabled, the selected scene will be loaded on play,