Closed simbleau closed 3 months ago
I go back and forth on it -- it's nice to simplify the code but the UX suffers a little bit needing to now nest into SpatialBundle
for customizing its components.
Wondering if there's a macro to flatten it, like #[serde(flatten)]
?
By the way I asked this on the Bevy discord a while ago: https://discord.com/channels/691052431525675048/742569353878437978/1145869833729216583
Looks like the conclusion I came to there is that inlining the components is nice to mirror native bundles like SpriteBundle
.
Since it appears to be the convention... we'll keep as is. Won't do.
Currently we have transforms, global transforms, visibility, etc. inlined into each bundle (
VelloSceneBundle
,VelloAssetBundle
,VelloTextBundle
).We should take the approach of
splined
and perhaps inline theSpatialBundle
instead.