Пример #1
0
 public static void Init()
 {
     if (instance == null)
     {
         instance = new GameObject("beatsaber99_spawnmanager").AddComponent <BeatmapSpawnManager>();
     }
 }
Пример #2
0
 void Awake()
 {
     instance = this;
     DontDestroyOnLoad(gameObject);
 }