#Replacement for the add_system_set_to_stage on Bevy 0.10
8 messages · Page 1 of 1 (latest)
@main temple suggested this
.add_systems(
(
position_translation,
size_scaling,
).in_base_set(CoreSet::PostUpdate)
)
failed with
error[E0277]: the trait bound `SystemConfigs: IntoSystem<(), (), _>` is not satisfied
--> src\main.rs:108:13
|
107 | .add_system(
| ---------- required by a bound introduced by this call
108 | / (
109 | | position_translation,
110 | | size_scaling
111 | | ).in_base_set(CoreSet::PostUpdate)
| |__________________________________________________^ the trait `IntoSystem<(), (), _>` is not implemented for `SystemConfigs`
|
= help: the trait `IntoSystemAppConfig<()>` is implemented for `SystemAppConfig`
= note: required for `SystemConfigs` to implement `bevy::prelude::IntoSystemConfig<_>`
= note: required for `SystemConfigs` to implement `IntoSystemAppConfig<_>`
note: required by a bound in `bevy::prelude::App::add_system`
--> C:\Users\dvtkrlbs\.cargo\registry\src\github.com-1ecc6299db9ec823\bevy_app-0.10.0\src\app.rs:384:50
|
384 | pub fn add_system<M>(&mut self, system: impl IntoSystemAppConfig<M>) -> &mut Self {
| ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `App::add_system`
oh sporru
wrong one
You missed the final s on add_systems