bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Add `register_bundle()` to `ErasedTemplate`

Open villor opened this issue 5 months ago • 1 comments

Objective

ErasedTemplate does not currently provide a way to get bundle information, which can be useful for a number of reasons.

  • In my case, I needed it for reconciliation experiments
  • Could also help with dynamic bundle insertion during spawn_scene.

Solution

  • Add register_bundle() to ErasedTemplate.

villor avatar Jul 25 '25 09:07 villor

https://github.com/bevyengine/bevy/pull/20158

villor avatar Jul 25 '25 10:07 villor