Component Hook functions as attributes for Component derive macro #13972
Labels
A-ECS
Entities, components, systems, and events
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
D-Macros
Code that generates Rust code
What problem does this solve or what need does it fill?
To specify hooks for a type requires manually implementing
Component
currently. It would be nice to be able to specify hooks as derive attributes.What solution would you like?
What alternative(s) have you considered?
Currently requires manual trait implementation.
The text was updated successfully, but these errors were encountered: