bevy/examples/ecs
Wouter Buckens 000dd4c1c2 Add docs & example for SystemParam (#1435)
It took me a little while to figure out how to use the `SystemParam` derive macro to easily create my own params. So I figured I'd add some docs and an example with what I learned.

- Fixed a bug in the `SystemParam` derive macro where it didn't detect the correct crate name when used in an example (no longer relevant, replaced by #1426 - see further)
- Added some doc comments and a short example code block in the docs for the `SystemParam` trait
- Added a more complete example with explanatory comments in examples
2021-03-03 03:11:11 +00:00
..
change_detection.rs add Flags<T> as a query to get flags of component (#1172) 2020-12-31 16:29:08 -06:00
ecs_guide.rs Non-string labels (#1423 continued) (#1473) 2021-02-18 13:20:37 -08:00
event.rs Make EventReader a SystemParam (#1244) 2021-01-18 22:23:30 -08:00
fixed_timestep.rs Non-string labels (#1423 continued) (#1473) 2021-02-18 13:20:37 -08:00
hierarchy.rs OrthographicProjection scaling mode + camera bundle refactoring (#400) 2021-01-30 02:31:03 -08:00
parallel_query.rs OrthographicProjection scaling mode + camera bundle refactoring (#400) 2021-01-30 02:31:03 -08:00
removal_detection.rs Update example with new stage terminology (#1496) 2021-02-22 03:43:28 +00:00
startup_system.rs Adopt a Fetch pattern for SystemParams (#1074) 2020-12-15 21:57:16 -08:00
state.rs Non-string labels (#1423 continued) (#1473) 2021-02-18 13:20:37 -08:00
system_chaining.rs Rename add_resource to insert_resource (#1356) 2021-01-30 12:55:13 -08:00
system_param.rs Add docs & example for SystemParam (#1435) 2021-03-03 03:11:11 +00:00
timers.rs Rename add_resource to insert_resource (#1356) 2021-01-30 12:55:13 -08:00