Skip to content

Templating of prefabs #31

@ElmarJ

Description

@ElmarJ

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.:

  • property:name -> GameObject Name
  • property:start-year -> ExistenceController Start
  • geometry:polygon -> BlocksFromPolygon floorPolygon (converted to Unity polygon)

etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions