To implement object buttons reloading when changing metadata files, I simply added a system that respawns buttons when metadata changes. Complete separate preview system automatically updates the image. So convenient.

  • 5C5C5C
    link
    fedilink
    arrow-up
    3
    ·
    10 months ago

    Are you using bevy_ui to produce and manage the buttons or a different UI framework?

    • Shatur@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      Yes, it’s bevy_ui.

      I used bevy_egui in early Bevy days, but then migrated to their official UI.

  • Mac
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    10 months ago

    Letting you know that the attached file seems to be broken. Doesnt show when visiting it

    Edit: ok for some reason its working for me now, just doesn’t have a preview

    • Shatur@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      10 months ago

      My instance doesn’t allow to load videos, so I posted it on my Mastodon and cross-posted it here :)