public static void Init() { if (instance == null) { instance = new GameObject("beatsaber99_spawnmanager").AddComponent <BeatmapSpawnManager>(); } }
void Awake() { instance = this; DontDestroyOnLoad(gameObject); }