No more way to toggle text visibility with bevy main #3422
Closed
Description
Bevy version
Current git main with the new renderer
Operating system & version
All Oses
What you did
In bevy 0.5 I was using the Visible component in a TextBundle to play with visibility of text in the UI of my Kataster game. ( typically to have some text ’blinking’)
What you expected to happen
While Visible has been updated to Visibility and is available for sprites, the Visibility component is not available for TextBundle ( even if added manually with a ComputedVisibility it does not work).
display attribute on Style impacts the layout so is not the solution here.
So as far as I have seen there no simple way to toggle visibility of a Text in the UI.
Activity