Skip to content

Instantly share code, notes, and snippets.

using UnityEngine;
public static class Bootstrapper {
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
public static void Execute() {
Object.DontDestroyOnLoad(Object.Instantiate(Resources.Load("Systems")));
}
}