I have a HealthComponent and a HealthSystem which decreases the health value for all Entities with the HealthComponent every 2 seconds in the update loop of the system.
Now if, in a SwiftUI view, I want to show the current health value and bind to it, how would I do this?
Ive tried adding the entity to my Character struct bit that obviously doesn’t update by itself.