public void CreateDungeon() { dungeonGenerator = new DungeonGenerator(GM.Instance.DungeonParameters, GM.Instance.Random); dungeon = dungeonGenerator.Dungeon; textures = GetComponent <Textures>(); textures.ApplyGraphicsSettings(); LoadPrefabs(); InitializeMaterials(); InstantiateFloor(); InstantiateCeiling(); InstantiateDungeonBlocks(); // InstantiateNewItems() or InstantiateLoadedItems() to be called via GM ApplyQualitySettings(); }