bytestring-net / bevy_lunex

Blazingly fast path based retained layout engine for Bevy entities, built around vanilla Bevy ECS.
https://bytestring-net.github.io/bevy_lunex/
Apache License 2.0
592 stars 24 forks source link

Is there any idea to reduce repetitive code? #81

Open kyrosle opened 1 month ago

kyrosle commented 1 month ago

I feel that I have written a lot of repetitive code in the past few days. Can these cleverly take advantage of the features of bevy, such as setting UiLink and UiLayout to Bundle, or adding custom Commands to reduce repetitive code?