ElmarJ / GeoJsonCityBuilder

Unity Package to recreate a 3D-city from a specially crafted geojson file.
MIT License
22 stars 2 forks source link

Templating of prefabs #31

Open ElmarJ opened 2 years ago

ElmarJ commented 2 years ago

Introduce "templating" of prefabs, which would allow us to set arbitrary fields on prefabs per geojson-feature from arbitrary feature properties (or even geometries - converted to unity-vectors and polygons).

This would allow for a much more decoupled, flexible and generic code-base, and also for merging the prefab-builder with the polygon-builders.

E.g.:

etc.

ElmarJ commented 2 years ago

Also necessary: a way to set random values