bevy/crates/bevy_ecs/macros/src
Marc-Stefan Cassola 7a41efa227 implemented #[bundle(ignore)] (#6123)
# Objective

Fixes #5559

Replaces #5628

## Solution

Because the generated method from_components() creates an instance of Self my implementation requires any field type that is marked to be ignored to implement Default.

---

## Changelog

Added the possibility to ignore fields in a bundle with `#[bundle(ignore)]`. Typically used when `PhantomData` needs to be added to a `Bundle`.
2022-10-24 14:33:45 +00:00
..
component.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
fetch.rs make WorldQuery very flat (#5205) 2022-08-04 21:51:02 +00:00
lib.rs implemented #[bundle(ignore)] (#6123) 2022-10-24 14:33:45 +00:00