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