4 ms·
I had the impression macros are used to make code less verbose.
by k__ 6y ago
I had the impression macros are used to make code less verbose.
- _cart 6y agoIn legion the macro attributes are used as "labels" for parameters to configure resource types. Theres also the additional boilerplate of annotating the function with a `#[system]`. Bevy ECS relies solely on the type system, which means these additional annotations are not necessary.