This release updates to Bevy 0.15, which reworks text and introduces required components.
No More Bundles
With required components, we no longer need the BbcodeBundle
.
Instead, just spawn the Bbcode
and BbcodeSettings
components.
All other needed components will be inserted automatically.
Query for TextSpan
When you wanted to update text dynamically via marker components inserted via BBcode, you used to query for the marker component and Text
.
Now, query for TextSpan
instead, which is what the BBcode markup gets parsed into now.
Improved performance
Parsing now performs less allocations, improving its performance.