Skip to content

Commit

Permalink
Update examples/ecs/component_hooks.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
  • Loading branch information
afonsolage and alice-i-cecile authored Mar 4, 2024
1 parent 8e49465 commit d78c7a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ecs/component_hooks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! Whenever possible, prefer using Bevy's change detection or Events for reacting to component changes.
//! Events generally offer better performance and more flexible integration into Bevy's systems.
//! Hooks are useful in specific scenarios but have limitations (only one hook per component,
//! Hooks are useful to enforce correctness but have limitations (only one hook per component,
//! less ergonomic than events).
//!
//! Here are some cases where components hooks might be necessary:
Expand Down

0 comments on commit d78c7a9

Please sign in to comment.