bevy/crates/bevy_ecs/macros
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
..
src implemented #[bundle(ignore)] (#6123) 2022-10-24 14:33:45 +00:00
Cargo.toml Bump Version after Release (#5576) 2022-08-05 02:03:05 +00:00