Function libre_pvz::core::projectile::projectile_vanish_system

source ·
pub fn projectile_vanish_system(
    bound: Res<'_, VanishingBound>,
    projectiles: Query<'_, '_, (Entity, &Position)>,
    commands: Commands<'_, '_>
)
Expand description

Remove projectiles outside the VanishingBound to release resources.