Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templating of prefabs #31

Open
ElmarJ opened this issue Feb 8, 2022 · 1 comment
Open

Templating of prefabs #31

ElmarJ opened this issue Feb 8, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@ElmarJ
Copy link
Owner

ElmarJ commented Feb 8, 2022

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.

@ElmarJ
Copy link
Owner Author

ElmarJ commented Feb 8, 2022

Also necessary: a way to set random values

@ElmarJ ElmarJ modified the milestones: v2.0.0, v0.5.0 Feb 8, 2022
@ElmarJ ElmarJ changed the title Allow templating of prefabs Support templating of prefabs Feb 12, 2022
@ElmarJ ElmarJ modified the milestones: v0.5.0, v0.6.0 Feb 14, 2022
@ElmarJ ElmarJ modified the milestones: v0.6.0, v2.0.0 May 18, 2023
@ElmarJ ElmarJ added the enhancement New feature or request label May 21, 2023
@ElmarJ ElmarJ changed the title Support templating of prefabs Templating of prefabs May 21, 2023
@ElmarJ ElmarJ modified the milestones: v2.0.0, v0.5.0, v0.6.0 Jun 21, 2023
@ElmarJ ElmarJ modified the milestones: v0.5.0, v0.6.0 Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant