···11-use crate::EffectMode;
21use bevy_ecs::prelude::*;
3243/// A "bundle" of components/settings used when applying an effect.
···1413/// ### [`EffectedBy::spawn`](SpawnRelated::spawn)
1514#[doc = include_str!("../docs/effected_by_spawn_example.md")]
1615#[derive(Default)]
1717-pub struct EffectBundle<B: Bundle> {
1818- /// The name/ID of the effect. Effects with different IDs have no effect on one another.
1919- pub name: Name,
2020- /// Describes the logic used when new effect collides with an existing one.
2121- pub mode: EffectMode,
2222- /// Components that will be added to the effect. This is where the actual effect components get added.
2323- pub bundle: B,
2424-}
1616+pub struct EffectBundle<B: Bundle>(pub B);