Пример #1
0
 protected override void OnSceneLoaded(Scene scene, LoadSceneMode mode)
 {
     base.OnSceneLoaded(scene, mode);
     settings = gameObject.AddComponent <MapGenerationManagerInspector>();
 }
Пример #2
0
 public MapGenerationManager()
 {
     Events    = new EventSystem();
     Generator = GetDefaultGenerator();
     settings  = gameObject.AddComponent <MapGenerationManagerInspector>();
 }