Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SystemSet::before and after: take AsSystemLabel (#4503)
# Objective `AsSystemLabel` has been introduced on system descriptors to make ordering systems more convenient, but `SystemSet::before` and `SystemSet::after` still take `SystemLabels` directly: use bevy::ecs::system::AsSystemLabel; /*…*/ SystemSet::new().before(foo.as_system_label()) /*…*/ is currently necessary instead of /*…*/ SystemSet::new().before(foo) /*…*/ ## Solution Use `AsSystemLabel` for `SystemSet`
- Loading branch information