Example #1
0
        private void Awake()
        {
            List <Room> dungeonRooms = new List <Room>();

            connectionGenerator = gameObject.GetComponent <ConnectionGenerator>();
            roomGenerator       = gameObject.GetComponent <RoomGenerator>();
            dungeonConstructor  = gameObject.GetComponent <DungeonConstructor>();
        }
 private void Awake()
 {
     roomGenerator    = GetComponent <RoomGenerator>();
     dungeonGenerator = GetComponent <DungeonGenerator>();
 }