The generator takes in the given tileset and can either generate the whole map during start. Or to prevent halting the game while generating it also supports generating in a coroutine (see gif).
The generator will attempt to place rooms and slowly spread out until it meets all the conditions set by the provided settings asset. For example, if the map does not contain enough of the “required” rooms then it will not consider itself valid and will continue generating until a valid map is produced. The generator will always try to reach the set maximum tile count but will not require it as long as the current tile count is in between the set min and max.